enterprise manager: clearing a table

Posted on 2008-11-18
Last Modified: 2012-05-05
how can i clear a table with enterprise manager? i dont to delete the the table .. just delete all clear all records .. should be an easy question .. i'm not really look for a query .. but more for a menu option in enterprise manager .. i found the delete in the menu .. but i think that is delete table function.
Question by:Amien90
    LVL 142

    Accepted Solution

    there is no menu option for that in sql 2000 enterprise manager

    Author Comment

    really .. hmm .. ok .. only with a query then?

    with what query can i delete all records .. and where can i drop that query?
    LVL 68

    Expert Comment


    TRUNCATE TABLE tablename

    Or, if that doesn't work:

    DELETE FROM tablename
    LVL 142

    Expert Comment

    by:Guy Hengel [angelIII / a3]
    >. and where can i drop that query?
    when you have selected the table, check out the tools menu -> query analyser.
    it will be connected to the same database, and you simply run the statements suggested by ScottPletcher

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
    Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now