Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

MS SQL Datatype - Equivalent for list or Array

Posted on 2013-11-04
1
Medium Priority
?
376 Views
Last Modified: 2013-11-11
Do we have an dataype in MS SQL to store array or list as a datatype . If so can you please share the tutorial for the same  .
0
Comment
Question by:FranklinRaj22
1 Comment
 
LVL 10

Accepted Solution

by:
PadawanDBA earned 1500 total points
ID: 39621775
What is an array if not a table?!  Seriously though, closest you can get is a table variable. http://www.sqlteam.com/article/using-table-variables

Edit: more current info: http://technet.microsoft.com/en-us/library/ms175010.aspx
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
When trying to connect from SSMS v17.x to a SQL Server Integration Services 2016 instance or previous version, you get the error “Connecting to the Integration Services service on the computer failed with the following error: 'The specified service …
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question