Top "Sql-server-2000" questions

Use this tag for questions specific to the 2000 version of Microsoft's SQL Server.

How can I insert binary file data into a binary SQL field using a simple insert statement?

I have a SQL Server 2000 with a table containing an image column. How do I insert the binary data of …

sql-server tsql sql-server-2000
Perform regex (replace) in an SQL query

What is the best way to replace all '&lt' with < in a given database column? Basically …

sql sql-server regex sql-server-2000
How to increment in a select query

I've got a query I'm working on and I want to increment one of the fields and restart the counter …

sql sql-server tsql sql-server-2000
SQL update query syntax with inner join

Can anyone find my error in this query? I'm using SQL Server 2000 and I want to update all entries in …

sql sql-server tsql sql-server-2000 sql-update
How to select only numeric values

Table1 id 01 wire 02 steve ram123 03 .... from the table1 i want to select only numeric values, It should not display alphanumeric …

sql sql-server tsql sql-server-2000
How can I generate a temporary table filled with dates in SQL Server 2000?

I need to make a temporary table that holds of range of dates, as well as a couple of columns …

sql tsql stored-procedures sql-server-2000
Joining tables from different servers

Any suggestions how to join tables from different servers in stored procedure?

sql-server sql-server-2000
Get structure of temp table (like generate sql script) and clear temp table for current instance

How do I get structure of temp table then delete temp table. Is there a sp_helptext for temp tables? …

sql-server tsql sql-server-2000
What is the syntax to drop a Stored Procedure in SQL Server 2000?

Simple question, as the title suggests: What is the syntax to drop a Stored Procedure (SP) in SQL Server 2000, by …

stored-procedures sql-server-2000 sql-drop
Select column, if blank select from another

How does one detect whether a field is blank (not null) and then select another field if it is? What …

sql sql-server-2000