Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can Openrowsource() be used in a stored procedure?
Message
From
31/07/2006 06:19:50
 
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01141748
Message ID:
01141752
Views:
21
>Hi,
> When I save a SP which includes a Openrowsource() statement like -
>
> SELECT a.* FROM
> OPENROWSET('MICROSOFT.JET.OLEDB.4.0',
> 'Text;Database=D:\textfile\;',
> 'SELECT * FROM [20060710000#txt]' ) a
>
>it always show me error 7405.Any advice? Tks.

>>What happens if you execute this statement in QA/SQL Man.Stud.?
It's no problem executing it in QA,so i suspect if it be appliable to
a SP.
Steven
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform