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 2000 Forums
 SQL Server Development (2000)
 Can we get the Result Set of Select Statement as String.

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-09-12 : 09:09:25
Mazhar Abbas writes "I want to use the Result set of Select statement as an "String argument" to a Java Method.
so is it possible the Result Set which is produced by a select statement to be used as a String.

For example:

select * from games

let the result produced by this statement is:

user_id     login                password 
----------- -------------------- --------------------

1 alex 123
2 vic 123
3 serge 123
4 dasha 123




so i want this result to use as a single String including the column's heading.

is there any possibility. if yes how to do it.

mazhar"
   

- Advertisement -