db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r408488 - /db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mssql/MSSqlBuilder.java
Date Sun, 21 May 2006 20:41:52 GMT
Author: tomdz
Date: Sun May 21 13:41:52 2006
New Revision: 408488

URL: http://svn.apache.org/viewvc?rev=408488&view=rev
Log:
Removed TODO

Modified:
    db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mssql/MSSqlBuilder.java

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mssql/MSSqlBuilder.java
URL: http://svn.apache.org/viewvc/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mssql/MSSqlBuilder.java?rev=408488&r1=408487&r2=408488&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mssql/MSSqlBuilder.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mssql/MSSqlBuilder.java Sun May
21 13:41:52 2006
@@ -299,7 +299,6 @@
         }
     }
 
-
     /**
      * {@inheritDoc}
      */
@@ -579,20 +578,4 @@
             printEndOfStatement();
         }
     }
-
-    // TODO: DROP default is done via selecting the name of the constraint for column avalue
of table toundtrip
-    //
-    // SELECT name 
-    // FROM sysobjects so JOIN sysconstraints sc
-    // ON so.id = sc.constid 
-    // WHERE object_name(so.parent_obj) = 'roundtrip' 
-    // AND so.xtype = 'D'
-    // AND sc.colid = 
-    //   (SELECT colid FROM syscolumns 
-    //    WHERE id = object_id('roundtrip') AND 
-    //    name = 'avalue')
-    //
-    // and then using this in
-    //
-    // ALTER TABLE roundtrip DROP CONSTRAINT ...
 }



Mime
View raw message