Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How do you persist objects, permissions in tempdb

Answer Posted / srinivasa ganamur

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 ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are subquery and its properties?

979


What is view in sql?

852


What are the results of running this script?

861


Retrieve the unique rows from table without using UNIQUE and DISTINCT keywords.

956


What do you mean by cardinality?

848


Explain mixed authentication mode of sql server?

989


What is clustered primary key?

958


What is a virtual table in sql?

943


What do you understand by triggers and mention the different types of it?

879


Explain the cursor lock types?

982


What is an execution plan? When would you use it?

919


What is linked report?

119


Define self join?

987


Which feature in sql server 2008 has surprised you? You can name just one. : sql server database administration

887


What are key, name and value columns of an attribute? : sql server analysis services, ssas

946