Archive for the ‘SQL’ Category

If you are using an identity column on your SQL Server tables, you can set the next insert value to…

October 10th, 2008

如何选出所有子类

No Comments, SQL, by chris.

–测试数据 CREATE   TABLE   tb(ID   char(3),PID   char(3),Name   nvarchar(10)) INSERT   tb   SELECT   ’001′,NULL  …