摘要:
-- 声明一个游标变量 DECLARE cur_example CURSOR FOR select name from sys.triggers -- 打开游标 OPEN cur_example -- 声明取值变量 DECLARE @name nvarchar(60) -- 声明循环 FETCH N 阅读全文
摘要:
using System; using System.Collections.Generic; using System.IO; using System.Runtime.InteropServices; using System.Text; namespace SyncTool { interna 阅读全文
摘要:
//增加一个字段,可以为空,默认1 alter table Ky_U_News add EveryDayVote int NULL default 1 //修改一个字段的类型 alter table Ky_U_News alter Column EveryDayVote nvarchar(1000) 阅读全文