create procedure proc1 (@a int) as begin if @a=1 create table #temp(a1 int) else create table #temp(a1 int) end while executeing the above code it shows error like '#temp already exist' .why it shows an error?
IBM,
8 10855how to write the query to select the rows are in the order of either 1,3,5,7... or 2,4,6,8,...
7 13846can you anybody tell me the how can you restore the master database. while migraion(one server to onther server)?
1 4523
What are sub reports?
How to modify an existing user defined function?
Do you know what are various aggregate functions that are available?
How to drop an existing schema in ms sql server?
You have developed an application which uses many stored procedures and triggers to update various tables users ocassionally get locking problems which tool is best suited to help you diagnose the problem?
Retrieve the unique rows from table without using UNIQUE and DISTINCT keywords.
Explain external key management in sql server 2008
What is instead of dml trigger?
What are 3 ways to get a count of the number of records in a table?
What is policy management?
Define primary key?
What is executereader?
What is key set driven?
Explain the architecture of ms sql reporting service?
How to use union to merge outputs from two queries together in ms sql server?