Viewing 15 posts - 14,311 through 14,325 (of 26,486 total)
GilaMonster (10/6/2011)
Lynn Pettis (10/6/2011)
GilaMonster (10/6/2011)
Lynn Pettis (10/6/2011)
Didn't GETDATE() use to (or still get) the same error?Yes, in SQL 2000.
Then the code Jack ran into my be a vestige left over...
October 6, 2011 at 1:56 pm
Actually, I think I found where my logic died. Haven't used it in a while so I didn't quite remember the rules correctly.
I stand corrected and back on track...
October 6, 2011 at 1:52 pm
Did some testing and it looks like you do want to ANDs in the NOT EXISTS statement.
Okay, boolean logic doesn't always work as you think in T-SQL.
October 6, 2011 at 1:46 pm
Eddie Wuerch (10/6/2011)
IF NOT EXISTS(SELECT * FROM Customer WHERE col1 = @x AND col2 = @y AND @col3 = @z)BEGIN
-- do stuff
END
I...
October 6, 2011 at 1:33 pm
GilaMonster (10/6/2011)
Lynn Pettis (10/6/2011)
Didn't GETDATE() use to (or still get) the same error?Yes, in SQL 2000.
Then the code Jack ran into my be a vestige left over when the database...
October 6, 2011 at 1:29 pm
GilaMonster (10/6/2011)
Lynn Pettis (10/6/2011)
Jack Corbett (10/6/2011)
create view SYSTEM_DATE_VIEW
as...
October 6, 2011 at 1:09 pm
GilaMonster (10/6/2011)
Lynn Pettis (10/6/2011)
Jack Corbett (10/6/2011)
create view SYSTEM_DATE_VIEW
as...
October 6, 2011 at 1:07 pm
Jack Corbett (10/6/2011)
create view SYSTEM_DATE_VIEW
as select getdate() SYSTEM_DATE
...
October 6, 2011 at 12:58 pm
It would help if you could post the DDL for the table(s), sample data for the table(s), expected results based on the sample data, and what you have done so...
October 6, 2011 at 11:15 am
Actually, I would not worry about purging the data from the database backups. Doing so simply is beyond the scope of the corporate/state/federal requirements. Purging the data from...
October 5, 2011 at 11:29 pm
GilaMonster (10/4/2011)
October 4, 2011 at 9:53 am
Glad I was able to help.
October 4, 2011 at 9:45 am
~Dev~ (10/4/2011)
Dev:: I am not sure on this but if you have...
October 4, 2011 at 7:00 am
derek.colley (10/4/2011)
Out of interest, does anyone know why AUTO_SHRINK is such a bad idea? I...
October 4, 2011 at 12:14 am
Here is the problem, your query has no order by so that your result set, before eliminating dups, instead of looking like this:
Request, city, Service, Complaint
123 - Arcadia - abc...
October 4, 2011 at 12:07 am
Viewing 15 posts - 14,311 through 14,325 (of 26,486 total)