sql server - Is there any option to set global variable in SQL? -



sql server - Is there any option to set global variable in SQL? -

i need utilize values (table values ex: studentid) in many stored procedures. need query value in every stored procedure. in mvc able store value in webconfig. in sql how can that?

is there alternative store value globally refer in stored procedure?

if need configuration values in database, can create new table , phone call configurationparameters, query whenever need value it.

if can't that, create storedprocedure or function returns value need.

sql sql-server stored-procedures

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -