Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 What are scalar parameters or variables

Author  Topic 

cplusplus
Aged Yak Warrior

567 Posts

Posted - 2012-09-17 : 17:14:19
What are scalar parameters or Variables? i am unable to understand the meaning.
What is considered as scalar value.

Thanks a lot for the helpful info.

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2012-09-17 : 17:15:58
any variable/parameter which stores a scalar value

ex:

DECLARE @var int
SET @var=5

CREATE PROC ProcName
@Param1 int,
...


EXEC ProcName @Param1=5,..


------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

cplusplus
Aged Yak Warrior

567 Posts

Posted - 2012-09-17 : 18:16:02
Thank you Vishakh.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2012-09-17 : 18:17:49
welcome

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -