Clear a logical file

2505 pts.
Tags:
Logical Files
Is there any command to clear a Logical File?

Answer Wiki

Thanks. We'll let you know when a new response is added.

Logical File doesn’t contain data and it provides only window to view the data from one or more Physical Files. So, I hope there is no matter to think of clearing Logical file.
Folks, correct me I am wrong.!!

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • CharlieBrowne
    You can use and SQL DELETE statement on the logical file
    62,265 pointsBadges:
    report
  • gfprogrammer
    Charlie Brown is right but it will delete the data out of the physical file.
    250 pointsBadges:
    report
  • sudheer794
    DELETE statement works only on Non-join Logical Files.. as Gfprogrammer said it deletes the record from the physical file... correct me if am wrong!
    315 pointsBadges:
    report
  • TomLiotta
    DELETE statement works only on Non-join Logical Files. In recent releases, INSTEAD OF triggers have allowed JOIN VIEWs to be deleteable. Whether or not they can work for DDS JOIN LFs may depend how the DDS is written. Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: