Viewing 15 posts - 4,606 through 4,620 (of 4,814 total)
Great that you have a solution. However, I'd like to make a couple of suggestions that might help generalize the solution, making it easier to re-use and perhaps...
September 5, 2008 at 10:54 am
Yes, actually. The OP wanted to exclude any non-date values by using a check for being a date, but was trying to do that at the same time...
September 5, 2008 at 10:37 am
Apparently... it seems we only:
SELECT SELF
INTO SKIRTS
FROM AVAILABLE_WOMEN
WHERE BODY_CHARACTERISTICS = 'DESIRABLE'
:D:D:D
P.S. perhaps "SELECT" should be read as "INFLICT"...
September 5, 2008 at 7:57 am
Just a thought, but while the application(s) are down, could the foreign key reference constraints be dropped, then the delete done, then the foreign key reference constraints be put back?...
September 5, 2008 at 6:49 am
I think the problem is the order of when things take place. If you ask SQL Server to CAST something as part of the query in which...
September 5, 2008 at 6:40 am
If that's too HARD, then just TRIGGER DELETE AFTER INSERT...
:D:D:D
September 4, 2008 at 2:46 pm
Yes, but while doing one's thinking "outside", one's objective is usually to eventually find one's way "inside"...
:D:D:D
September 4, 2008 at 7:08 am
Looks like I've missed the link to the Labor Day Bloopers, as all I can find so far is this comment topic and the editorial page where it says Steve...
September 2, 2008 at 7:46 am
Just another way to approach this, but Microsoft makes a FANTASTIC migration tool for migrating Access databases to SQL Server 2005 or 2008. I've used the 2005 version,...
August 29, 2008 at 6:44 am
Sorry folks - false alarm. I just had a senior moment and forgot about a reversed sign that was needed for the comparison. Once I tried...
August 28, 2008 at 1:09 pm
I just tested Ryan Randall's code on SQL 2005, and it appears to work just fine. Is there some issue with it?
Steve
(aka smunson)
:):):)
August 26, 2008 at 7:13 am
Sounds like you haven't populated your tally table. Try my code using the table variable and see if that helps you. You can adapt it to...
August 25, 2008 at 3:57 pm
By the way, the execution time on that query, including creating the table variable with the tally numbers, was less than 1 second.
Steve
(aka smunson)
:):):)
August 25, 2008 at 3:45 pm
It's too late for me to look at it today, but I'll look at it in the morning and see what I can accomplish.
EDIT: Ignore that... I just found my...
August 25, 2008 at 3:36 pm
You can name it whatever you want. Just remember to edit the name as appropriate when you go in to adapt Jeff's code that references it. ...
August 25, 2008 at 3:22 pm
Viewing 15 posts - 4,606 through 4,620 (of 4,814 total)