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 |
saha
Starting Member
3 Posts |
Posted - 2011-01-04 : 00:51:15
|
Dear AllIf I want to use BCP for exporting data from my database, the data that export will be delete?if not can I use delete instruction from command promp?thanks a lot for your attentionWith Best Regards |
|
nigelrivett
Master Smack Fu Yak Hacker
3385 Posts |
Posted - 2011-01-04 : 01:10:13
|
No - bcp doesn't delete data.You can use osql or sqlcmd to execute adelete command from the command prompt.If data is being added all the time you will have do do something likeFlag rows to exportexport rows that are flaggeddelete flagged rows.==========================================Cursors are useful if you don't know sql.SSIS can be used in a similar way.Beer is not cold and it isn't fizzy. |
|
|
CK
Starting Member
3 Posts |
Posted - 2011-01-22 : 01:12:56
|
Hello,Is it possible to export the resultset of two queries in two different tabs of excel of the same file using bcp in sql server 2000. If yes then please let me knoe how i can do the same.If not then please suggest some alternative way to do the same.Thanks |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
|
|