472,143 Members | 1,124 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,143 software developers and data experts.

Passing a Parameter through an OpenRowSet

4
My code is as follows:

Expand|Select|Wrap|Line Numbers
  1.     SELECT  * INTO TempTable FROM OPENROWSET(
  2.        'MSDASQL',
  3.        'Driver={Microsoft dBase Driver
  4. (*.dbf)};DBQ=Q:\TestData\tdsv\SIW\',
  5.        'Select * from REFCOLR')
  6.     WHERE COLOR IS NOT NULL
I need to replace "Q:\TestData\tdsv\SIW\" with a Parameter which gives the location of the .dbf files. Any ideas on how this is done???
May 10 '07 #1
0 1342

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Mahesh Hardikar | last post: by
11 posts views Thread by John Pass | last post: by
reply views Thread by amazon | last post: by
12 posts views Thread by dave_dp | last post: by
2 posts views Thread by Gugale at Lincoln | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.