Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can Openrowsource() be used in a stored procedure?
Message
 
To
31/07/2006 05:59:31
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01141748
Message ID:
01141751
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.?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform