) declare @cou int ) ' set @sql='select @count=count(*) from emp where id=@id' exec sp_executesql @sql, N'@count int out,@id varchar(20)', @cou out ,@id print @cou @cou接收 @count传出的值
SqlConnection cn = new SqlConnection("server=my\\my2005;database=rdwhdata2005;user id=zjh;password=321321"); List<string> lis = new List<string>(); void info(object o, SqlInfoMessageEventArgs ar) { for
for(int a = 5; a > 0 ; a--){ for(int b = 1; b <= a; b++){ System.out.print(" "); } for(int c = 5; c >= a; c--){ System.out.print("* "); } System.out.println(" "); } for(int a = 4; a > 0 ; a--){ for(int d = 1; d &g