Solved

SQL 2000 query analyzer

Posted on 2013-05-23
6
311 Views
Last Modified: 2013-06-04
I am trying to delete all rows in all table's in one data base that have a certain value say (MX)$ how can I do this using SQL query analyzer 2000
0
Comment
Question by:Jeff1976
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 78

Expert Comment

by:arnold
ID: 39193161
You have to use sql query browser not analyzer.
You have to make sure that you are deleting from tables in the correct order dealing with constraints if any.
0
 

Author Comment

by:Jeff1976
ID: 39193176
Ok I can not find SQL query browser for SQL 2000 installed is it a seperate install or download and how do I figure out what order to use or the constraints. I am really new to this.
0
 
LVL 78

Assisted Solution

by:arnold
arnold earned 333 total points
ID: 39193190
Constraints are part of the database setup that deal with preventing deletion of records that other tables rely on.
Do you have enterprise manager installed?
Is this Sql 2000 or MSDE?

The enterprise manager and the sql browser have to be installed using the CD.

Have not used it in a while, http://toadforsqlserver.com/index.jspa
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 

Author Comment

by:Jeff1976
ID: 39193203
this is SQL 2000 standard
0
 
LVL 78

Assisted Solution

by:arnold
arnold earned 333 total points
ID: 39193233
If you have the disk rerun the install and make sure to install the enterprise manager tools.
0
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 167 total points
ID: 39195965
You should be able to do that with SQL Query Analyzer.  

Is this what you mean:
DELETE YourTableName WHERE YourColumnName = '(MX)$'
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
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.

726 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