Viewing 14 posts - 4,801 through 4,814 (of 4,814 total)
Take a look at the following code that can demonstrate a technique that uses an auxiliary table of numbers:
-- START WITH A TABLE OF THE NUMBERS FROM 1 to 200
SET...
June 3, 2008 at 7:29 am
I'm glad you were able to figure it out. I was having trouble understanding why you needed a not equal relationship, as I would have thought that any...
June 3, 2008 at 6:51 am
Leave the parameter as an integer, and change the query to check for:
QExpiry.FieldName <= DATEADD(d, @DateOffset, GETDATE())
You should be able to have this work in both locations.
Steve
(aka smunson)
:):):)
June 2, 2008 at 1:31 pm
Here's the help on the "freetext string" that goes into the FREETEXT function, which explains about quoted strings:
freetext_string
Is text to search for in the column_name. Any text, including words,...
June 2, 2008 at 7:32 am
I need to know more about how you plan to keep track of what options have been selected. Are you updating any permnanent table with this information? ...
June 2, 2008 at 7:17 am
I saw similar things happen with Excel imports in SQL Server 2000, where if the data in the first several rows LOOKED like a particular data type, a row far...
May 30, 2008 at 9:22 am
Hmmm... it appears I'm way behind on information on memory capacity and the ability to get past the 4 GB addressing limit of 32 bits. Can anyone...
May 30, 2008 at 8:51 am
I'm not familiar with the term BCP, but given that temporary tables are generally attached to the session that creates them, I'm thinking we need to know more about why...
May 30, 2008 at 7:00 am
Yes, Jeff... you're quite right. Being a newbie to both SQL Server 2005 (although an oldie to SQL Server 2000) as well as this forum, my excitement...
May 30, 2008 at 6:46 am
Umm... I may not be recalling this correctly, but I haven't seen anyone ask what Server OpSys is in use, and I did see the indication that SQL Server is...
May 29, 2008 at 2:30 pm
My thought process says when there's no map, make one. Since you appear to be looking at dealing with the Front End, is there any chance you can...
May 29, 2008 at 2:03 pm
There is a way to do this without sorting. I decided to try using REPLACE and ISNULL and an intermediate CTE, with a source table that has all...
May 29, 2008 at 12:23 pm
If it helps any, the PIVOT operator uses an aggregate function to consolidate information from a given column, based on possible values of a 2nd column. For character data,...
May 29, 2008 at 9:02 am
Have you considered the PIVOT operator? SQL 2005 provides this rather convenient method to convert rows to columns (and UNPIVOT to do the reverse). As an...
May 27, 2008 at 7:02 am
Viewing 14 posts - 4,801 through 4,814 (of 4,814 total)