Tuesday, 3 September 2013

SQL Stored procedure extract data

SQL Stored procedure extract data

Is this possible in SQL stored procedure. I need to get the data base on
the list.txt with field ID. 1,3,5 to query in customer table and export
the result in result.txt
table name: Customer
ID|Name |Country 1 |Mark |USA 2 |Allan|UK 3 |James|USA 4 |Todd |UK 5 |Mike
|UK
list.txt ID 1 3 5
Result in exported in text file
result.txt 1 |Mark |USA 3 |James|USA 5 |Mike |UK

No comments:

Post a Comment