文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>mssql各种指令集合

mssql各种指令集合

时间:2010-08-19  来源:mylhei

清除表:truncate table 【tablename】;

建立存储过程:

create proc procname

as

..

go

建立游标:

declare cursorName cursor for sqlsentence --定义游标

open cursorName--打开游标

fetch next from cursorName into --执行查询

close cursorName--关闭游标

deallocate cursorName --删除游标

 

条件:

IF..ELSE.. END IF

IF(condition) then

else

end if

循环

while (condition)

begin

end

相关阅读 更多 +
排行榜 更多 +
别惹神枪手安卓版

别惹神枪手安卓版

冒险解谜 下载
坦克战争世界

坦克战争世界

模拟经营 下载
丛林反击战

丛林反击战

飞行射击 下载