Exforsys

Online Training

Want to know about the commands

This is a discussion on Want to know about the commands within the Other DBs forums, part of the Database category; I want to know the difference between DELETE command and DELETE FILE command in FOXPRO. If someone could give a ...


Go Back   Exforsys > Database > Other DBs

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-12-2006, 03:14 AM
Senior Member
 
Join Date: Apr 2006
Posts: 145
Rahulbatra is on a distinguished road
Want to know about the commands

I want to know the difference between DELETE command and DELETE FILE command in FOXPRO. If someone could give a example it would be of great help to me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 12-12-2006, 04:32 AM
Senior Member
 
Join Date: Apr 2005
Posts: 716
lokeshm is on a distinguished road
DELETE
[<scope>]
[FOR <expL1>]
[WHILE <expL2>]
[NOOPTIMIZE]

In DELETE Command, Records marked for deletion are not physically removed from the table/.DBF until PACK is issued.

Records marked for deletion can be recalled (unmarked) using RECALL Command.

To DELETE the marked records permanently you need to use PACK Command


DELETE FILE [<file> | ?]

Any file deleted with this command cannot be retrieved.
Even if SET SAFETY is ON, you are not warned before the file is deleted.

The file you want to delete cannot be open when DELETE FILE is issued.

If you delete a table/.DBF that has an associated .FPT memo file, be sure to delete the memo file.

The file name must include a path if it is on a different drive or in a different directory than the default, and the file name extension must be included. The file name cannot contain MS-DOS wildcard characters.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 12-19-2006, 02:27 PM
Senior Member
 
Join Date: Apr 2006
Posts: 145
Rahulbatra is on a distinguished road
Lokesh thanks for your detailed explanation.It gave a very clear picture about the commands.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new questions
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Communication Commands in UNIX caradoc Linux 0 12-12-2006 02:57 AM
Windows XP commands sanereddy Windows 1 12-11-2006 08:21 PM
Unix Commands In Windows 2003 jennifer99 Windows Server Tutorials 0 07-05-2005 02:36 AM
Quarterly ASCII posting of Caldera (SCO) OpenUNIX 8 FAQ Boyd Lynn Gerber Tech FAQ 0 04-25-2004 10:11 PM
vi editor FAQ (Frequently Asked Question List), Part 1/2 E. Larry Lidz Tech FAQ 0 04-19-2004 12:02 AM


All times are GMT -4. The time now is 10:53 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.