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
Subscribe to:
Post Comments (Atom)
rls
To enable row-level security (RLS) in MS SQL Server (2016 and later) , you need to define a security policy that uses a user-defined, inli...
-
http://www.sommarskog.se/share_data.html How to Share Data Between Stored Procedures An SQL text by Erland Sommarskog, SQL Server MVP. M...
-
Most of the google tutorials on keras do not show how to display a confusion matrix for the solution. A confusion matrix can throw a clear l...
-
CONCLUSION : 1. Normally, use following two when you do not want query compilation also to come into picture. CHECKPOINT DBCC DROPCLEA...
No comments:
Post a Comment