Linux&MySQL&PHP&Nginx&Apache&MSSQL&Shell
发布时间:2013-02-28 16:18:05
标量函数,返回一个值Use database_name;GOif object_id(N'dbo.function_name',N'IF') is not nulldrop function dbo.function_name;GOcreate function dbo.function_name(@id int) returns varchar(180) //定义返回值的类型ASBEGINdeclare @name var.........【阅读全文】
发布时间:2013-02-28 10:43:20
if OBJECT_ID('Table_1') is not null drop table Table_1object_id(表名),object_name(表id)都在对应库的sys.objects中......【阅读全文】