Posted by ProgrammerGal on 04/18/06 01:27
I am hoping this is a quick easy question for someone! :)
I am trying (struggling) with moving data from Sql Server to a Lotus
Notes table.
I am using SQL Server 2000, I have a Lotus Notes linked server (using
NotesSQL), and I wasnt to clear the table (delete all records) and then
reload it from my data on SQL Server.
What is the syntax to delete the records?
My select statement would be like this:
select * from openquery([LinkedServer], 'select * from NotesTable')
where lastName='Smith'
My delete statement ??? -- cant quite figure out the syntax of this
one....
select * from openquery([LinkedServer], 'delete from NotesTable') where
lastName='Smith'
(this doesnt work)
Thanks!
[Back to original message]
|