Top "Sql-server-2000" questions

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

How to connect to MSSQL 2000 from PHP 5.3 and up

I have a legacy business application built on MS SQL Server 2000. I have some webbased utilities that access this database …

sql-server-2000 upgrade compatibility php-5.3 sqlsrv
In the UPDATE statement, are NOLOCK hint honored in the FROM clause?

Given the following update statement: UPDATE @TableVariable SET city = T2.city FROM @TableVariable TV INNER JOIN dbo.TABLE_1 T1 WITH (…

sql-server sql-server-2000 nolock hints
Why does the order of join clauses affect the query plan in SQL Server?

I am building a view in SQL Server 2000 (and 2005) and I've noticed that the order of the join statements greatly …

sql-server sql-server-2005 optimization join sql-server-2000
Getting bcp.exe to escape terminators

I need to export some data using SQL Server 2000's BCP utility. Sometimes my data contains characters, such as \t …

sql-server-2000 export escaping bcp
Multiple Versions of SQL Server using Entity Framework in a single ASP.NET application

I am using the Entity Framework in a web application that utilizes SQL server 2000, 2005, and 2008. When I create a new …

sql-server-2005 entity-framework sql-server-2000 entity
SQL Server 2000 - ALTER TABLE + INSERT INTO = Errors?

I'm trying to alter a table to add a new column, then insert a new row into it. ALTER TABLE …

sql-server tsql sql-server-2000
Setting a variable with select inside coalesce

How do I fix up this part of my stored procedure? The select will either return 1, 0, or null. If the …

sql variables select sql-server-2000 coalesce
Efficient Paging (Limit) Query in SQLServer 2000?

What would be the most efficient way to do a paging query in SQLServer 2000? Where a "paging query" would be …

sql sql-server-2000 paging limit
SQL Server: 12% index scan density and 50% fragmentation. How bad is "bad"?

How much fragmentation is bad? How low of scan density is too low? How low does scan density is bad? …

sql-server sql-server-2000 indexing fragmentation sql-server-performance
SQL Server 2000 XML PATH('') error

SELECT **FIELDS** AS [text()] --Stops the XMLPATH line rendering output as XML FROM #temp WHERE **CONDITIONS** FOR XML PATH('') …

sql sql-server-2005 tsql sql-server-2000 for-xml