alter
@userid proc testbigint as beginif (@userid = 1 )begin
print 'you gave 1 as input' select * into #temp from StudentBoardingReportTable end else beginprint 'you gave other than 1 as input : ' +convert ( nvarchar(10) , @userid)
select * into #temp1 from StudentBoardingReportTable end if ( @userid = 1)begin
select * from #temp drop table #temp end else begin
select * from #temp1 drop table #temp1 end end
Thursday, November 18, 2010
#temp are created before code execution starts
Subscribe to:
Post Comments (Atom)
kubernetes controllers and workloads
In Kubernetes, Workloads are the applications you run on the cluster, while Controllers are the background control loops that watch the st...
-
http://www.sommarskog.se/share_data.html How to Share Data Between Stored Procedures An SQL text by Erland Sommarskog, SQL Server MVP. M...
-
CONCLUSION : 1. Normally, use following two when you do not want query compilation also to come into picture. CHECKPOINT DBCC DROPCLEA...
-
Most of the Google tutorials on Keras do not show how to display a confusion matrix for the solution. A confusion matrix can ...
No comments:
Post a Comment