| Author |
Topic |
|
riadeasleh
Starting Member
8 Posts |
Posted - 2011-12-28 : 10:27:05
|
| Does SQL Server 2008 has any object similar to the Recordset Object in vb.netBesides the Cursor object in Sql, is there an object where i can reference the data by index or column nameSincerely yoursRiade |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
|
|
riadeasleh
Starting Member
8 Posts |
Posted - 2011-12-28 : 12:14:09
|
| Still No luckThanks |
 |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2011-12-28 : 12:15:38
|
| what does that mean?can you explain what else you're expecting?------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
 |
|
|
riadeasleh
Starting Member
8 Posts |
Posted - 2011-12-28 : 12:35:19
|
| Here is what I am expecting in SQL 2008 Store procedurelet' say, that I have table named table1 that contains 100 columns and 500 rowsI want to dump the data of table1 into @MyRecodeset where I can do the followingdeclare @Value varchar(50)declare @col intdelcare @row intset @col = 10set @row = 5set @Value = @MyRecodeset (@col,@row)therefore the @Value should be equal to whatever data in the 10 column at row 5.Thanks |
 |
|
|
X002548
Not Just a Number
15586 Posts |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2011-12-28 : 12:53:07
|
| then what you're looking at is table variable or table valued function------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
 |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2011-12-28 : 12:53:40
|
| then what you're looking at is table variable or table valued function------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
 |
|
|
DonAtWork
Master Smack Fu Yak Hacker
2167 Posts |
Posted - 2011-12-28 : 13:37:10
|
| Sorry, i agree with Brett.http://weblogs.sqlteam.com/jeffs/archive/2008/05/13/question-needed-not-answer.aspxHow to ask: http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspxFor ultra basic questions, follow these links.http://www.sql-tutorial.net/ http://www.firstsql.com/tutor.htm http://www.w3schools.com/sql/default.asp |
 |
|
|
Sachin.Nand
2937 Posts |
|
|
|