-
T-SQL Arrays
In T-SQL can I create an array to hold some say, 10 values?
Or is there any alternative methods?
Thanks
-
Re: T-SQL Arrays
You cannot.
TSQL does not support arrays.
Alternately, you can store number values in a string and separate them and
convert them.
Or, Use the same variable in a loop if that helps.
Deepak.
"rkbnair" <rkannale@solus1.oceaneering.com> wrote:
>
>In T-SQL can I create an array to hold some say, 10 values?
>
>Or is there any alternative methods?
>
>Thanks
>
-
Re: T-SQL Arrays
You can't - you have to use a table
> In T-SQL can I create an array to hold some say, 10 values?
>
> Or is there any alternative methods?
>
> Thanks
>
Neil Pike MVP/MCSE. Protech Computing Ltd
(Please reply only to newsgroups)
SQL FAQ (428 entries) see
forumsb.compuserve.com/gvforums/UK/default.asp?SRV=MSDevApps (sqlfaq.zip - L7
- SQL Public)
or www.ntfaq.com/sql.html
or www.sql-server.co.uk
or www.mssqlserver.com/faq
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks