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 11099how to write the query to select the rows are in the order of either 1,3,5,7... or 2,4,6,8,...
7 14111can you anybody tell me the how can you restore the master database. while migraion(one server to onther server)?
1 4607
Why should you use or avoid select * statements?
How to join two tables in a single query in ms sql server?
Do you know how to send email from database?
What is difference between stored procedure and user defined function?
How to remove duplicate rows from table except one?
What is exporting and importing utility?
Tell me what is a linked server?
Can you give me some DBCC command options?(Database consistency check) - DBCC CHECKDB - Ensures that tables in the db and the indexes are correctly linked.and DBCC CHECKALLOC - To check that all pages in a db are correctly allocated. DBCC SQLPERF - It gives report on current usage of transaction log in percentage. DBCC CHECKFILEGROUP - Checks all tables file group for any damage.
What do you mean by data integrity?
What are unicode character string data types in ms sql server?
What are the restraints imposed on the table design by a merge replication?
How to transfer data from a cursor to variables with a "fetch" statement?
What is inner join? Explain with an example?
What is the meaning of resultset type_scroll_insensitive?
How to create a user name in a database?