Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Data Mining?????

Author  Topic 

under2811
Constraint Violating Yak Guru

366 Posts

Posted - 2007-12-07 : 06:27:00
what wrong with it????

SHAPE {
OPENQUERY([database_name],'SELECT Code
FROM Code ORDER BY Code')
} APPEND (
{OPENQUERY([database_name],'SELECT Code, ID FROM
dbo.Code ORDER BY Code, ID')}
RELATE Code to Code)


error Msg 156, Level 15, State 1, Line 2
Incorrect syntax near the keyword 'OPENQUERY'.

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2007-12-07 : 07:08:38
MSDATASHAPE provider is not longer supported in SQL Server 2005.
ADO still support this from client side.




E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page
   

- Advertisement -