ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Databases  >>  SQL Server
 
 


 

 
 Oracle interview questions  Oracle Interview Questions
 SQL Server interview questions  SQL Server Interview Questions
 MS Access interview questions  MS Access Interview Questions
 MySQL interview questions  MySQL Interview Questions
 Postgre interview questions  Postgre Interview Questions
 Sybase interview questions  Sybase Interview Questions
 DB Architecture interview questions  DB Architecture Interview Questions
 DB Administration interview questions  DB Administration Interview Questions
 DB Development interview questions  DB Development Interview Questions
 SQL PLSQL interview questions  SQL PLSQL Interview Questions
 Databases AllOther interview questions  Databases AllOther Interview Questions
Question
How do you persist objects, permissions in tempdb
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How do you persist objects, permissions in tempdb
Answer
# 1
Hi,

Step 1 : For this you to create new procedure(plcae all 
your statments in this procedure), affter creating the 
procedure, run this procedure in tempdb.

Step 2 : using sp_procoption (system procedure), you have 
to set startup option.means whenever you restart your sql 
server the created procedure automatically runs. The Syntax 
of sp_procoption is

       sp_procoption @proc_name,
                     @OptionName,
                     @OptionValue

@ProcName---> Name of the newly created procedure
@OptionName---> StartUP
@OptionValue---> True

Ex: sp_Procoption 'usp_CustomerDetails', 'StartUp', 'True'

Regard's
Srinivasa Ganamur
 
Is This Answer Correct ?    0 Yes 0 No
Srinivasa Ganamur
 

 
 
 
Other SQL Server Interview Questions
 
  Question Asked @ Answers
 
how to get the rowid/rownumbes of a table in sqlserver IBM5
What is a transaction and what are ACID properties?  2
How To Change Column Ordinal Position in SQL Server 2005 using Query i.e I Want To Add Column at Particular Ordinal Position in SQL Server 2005  2
Rate yourself in .NET and SQL ? Cognizent1
What is an Index? Yardi-Software3
how insert selected column only ? Robert-Half2
how to update a null value field in sql server eg a table contains 3 fields id,name,salary and 3 records salary of 1 record is null i want update the nullfield 111 arun 300 112 ddd 200 113 ttt null i want to update table with add 100 to every record include null after updation the recrds should be 111 arun 400 112 ddd 300 113 ttt 100 HCL6
How can we write or define DDL statements in Sql server and DML statements?  2
what is a stored procedure and trigger?  1
Which virtual table does a trigger use?  3
what is the main difference between constraints(like primary key etc..)& joins? Annik2
how to find the particular row in table?(means suppose one table contain 10 rows , in these 10 rows how to find the particular row(example in 10 rows i want 5 row how)? Marlabs8
How to work on DTS?what is the main requirement? ivan1
Following are some of the question related to below mentioned query? select e1.salary from employee3 e1 where 2= ( select count(distinct(e2.salary)) from employee3 e2 where e2.salary>=e1.salary ) 1) What the query returns? 2) How it works? - Detail explanation (what the sub query does, why it is (where 2=)....etc...Please?  3
how to delete duplicate rows from table in sql server HCL8
could u plz explain about joins and views?  2
What's the difference between a primary key and a unique key? Wipro8
Let us say master db itself has no backup. Now you have to rebuild the db so what kind of action do you take?  1
Explain different isolation levels?  3
What meant by Performance Tuning,how can we do the performance tuning on stored procedures and tell some steps to do the performance tuning TCS2
 
For more SQL Server Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com