|
-
Oct 10th, 2000, 03:40 AM
#1
Thread Starter
Lively Member
Hi,
I have just started on SQL 7, and was looking for a particular functionality in it that i know Oracle provides via pl-sql.
Lets assume I have a Stored proc' that fires a query which in turn returns a single row recordset. Now i would like to persist this recordset to a file? It must be done within the SP, I realise this could easily be done using ADO clients. But can i do it completely in the backend via SQL7 itself?
Any pointers in the right direction for this would be MOST helpful! Thank you.
Regards,
Gaurav
[email protected]
" Programming today is a race between software-engineers striving to build bigger and
better idiot-proof programs and the universe trying to produce bigger and better idiots.
So far the universe is winning". :-)
-
Oct 10th, 2000, 09:43 AM
#2
Lively Member
If you wish to store a resultset in a user file you may want to look into using Data Transformation Services (DTS) or possibly the bulk copy method. It may take a little more effort but both of these can be executed from within a SP.
Hope this has pointed you in the right direction.
Dr_Evil
Senior Programmer
VS6 EE
VS.NET EA
-
Oct 11th, 2000, 03:23 AM
#3
Thread Starter
Lively Member
Hiya,
Well it does a little... but a lot of people tell me that via SQL7 one cannot write directly to a file.. is this true?? have u eer done or heard of this being done??? And i haven't worked in DTS so could u PLEASE send me some more details..?? I know i'm pushing my luck here but do help!!! 
Thanks
Gaurav
[email protected]
" Programming today is a race between software-engineers striving to build bigger and
better idiot-proof programs and the universe trying to produce bigger and better idiots.
So far the universe is winning". :-)
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
|
Click Here to Expand Forum to Full Width
|