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 2000 Forums
 Import/Export (DTS) and Replication (2000)
 Hunger for the reason why it doesn't work

Author  Topic 

Dorami123
Starting Member

1 Post

Posted - 2008-10-21 : 15:28:11
Hi,all,
I wrote this below in query tools in sql2000 and it worked.However,i wrote it in PowerBuilder and it didn't.

select * Into teststudent2 from OpenRowSet('Microsoft.Jet.OLEDB.4.0','Excel 8.0;hdr=Yes;DataBase=F:\zgc\PB\test\copyexceltosql\student.xls','select * from [sheet1$]')

I can not invoke the OpenRowSet function to put data into sql2000 in PowerBuilder program, can i ? If i can, how to do it?

thanks.

hey001us
Posting Yak Master

185 Posts

Posted - 2008-10-21 : 15:41:18
try to post at PowerBuilder forums...

hey
Go to Top of Page
   

- Advertisement -