>Hi,
>I meant I wan to delete all record "DELETE FROM myTable". But I don't want logging.
>
>Thank you
TRUNCATE TABLE will work as long as you don't have any defined relationships to that table. Otherwise DELETE is your only option.
If this is not a production database you can change the recovery model so that logging is essentially bypassed. Look up the ALTER DATABASE command in BOL.
If you cannot change the recovery model you can shrink the database later, or truncate the log file after you are done. Both of these are covered in BOL.
Hope that helps.
Dan LeClair
www.cyberwombat.comSET RANT ON - The Wombat BlogLife isn’t a morality contest and purity makes a poor shield. - J. Peter MulhernDisclaimer: The comments made here are only my OPINIONS on various aspects of VFP, SQL Server, VS.NET, systems development, or life in general, and my OPINIONS should not be construed to be the authoritative word on any subject. No warranties or degrees of veracity are expressed or implied. Void where prohibited. Side effects may included dizziness, spontaneous combustion, or unexplainable cravings for dark beer. Wash with like colors only, serve immediately for best flavor.