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.
| Author |
Topic |
|
Ravikeerti
Starting Member
1 Post |
Posted - 2006-01-18 : 07:50:24
|
| Hi all,I have problem with sp_OA methods in sql server 2000.I am calling a COM component which creates XML file, from SQL stroed proc, but component is not getting executed neither i am getting any error.Here is my codeDECLARE @FS int, @OLEResult intEXECUTE @OLEResult = sp_OACreate 'XMLImport.XML', @FS OUTIF @OLEResult <> 0 PRINT 'Successfull'execute @OLEResult = sp_OAMethod @FS, 'CreateXML'IF @OLEResult <> 0 PRINT 'Successfull'EXECUTE @OLEResult = sp_OADestroy @FSAny sols?RegardsRavikeerti |
|
|
|
|
|