Solved

SQL 2000 query analyzer

Posted on 2013-05-23
6
310 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
  • 3
  • 2
6 Comments
 
LVL 77

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 77

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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

Author Comment

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

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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

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.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

856 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