Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. charliescott

    Using Variables in Aggregate Functions??

    I'm fairly certain there is a very quick and simple solution to the following issue that I'm having... USE Northwind DECLARE @COLUMN_NAME VARCHAR(50) SELECT @COLUMN_NAME='LastName' --Following result = 8 (Represents the actual length of string 'LastName' SELECT MAX(LEN(@COLUMN_NAME)) FROM...
  2. charliescott

    Pattern Analysis

    Hello, Just wondering if there was a cleaner way to perform a pattern analysis then using the following code: USE Northwind SELECT CustomerID,PostalCode,Replace(Replace(Replace(Replace(Replace(Replace(Replace (Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace...
  3. charliescott

    SQL 2005 Query Analyzer - Copying over column names to MS Excel

    A huge frustration of mine is copying data from the GridView in SQL Server 2000 Query Analyzer to MS Excel and the fact that the column headers do not seem to come across. I heard a while back that this issue had been resolved in SQL 2005. I just checked this out and much to my dismay, this...

Part and Inventory Search

Back
Top