Help with SQL Variables RRS feed

  • Question

  • User1136123186 posted
    I was wondering if anyone would an example of how to set up variables in SQL, or could point in the right direction for some....


    Thursday, May 5, 2005 5:30 PM

All replies

  • User-1804824805 posted

    Please elaborate.  What are you trying to do?  Variables in a stored procedure? 

    Books Online included with SQL Server is generally a good resource.

    Thursday, May 5, 2005 8:31 PM
  • User-1966223442 posted

    你说的是什么?在sql server下面创建一个变量吗?

    不就是declare @variablename type吗?

    Saturday, May 7, 2005 11:08 PM
  • User1360162076 posted

    Hello frnd hope this link will help you


    <link /> http://www.functionx.com/sql/Lesson03.htm


    Where do u want to use variables ...is it in stored procedure or function ....

    DECLARE @Variable1 DataType, @Variable2 DataType, @Variable1 DataType

    hope it will help you...
    Wednesday, February 16, 2011 9:57 AM