Viewing 15 posts - 166 through 180 (of 1,216 total)
rbarryyoung (6/18/2008)
GSquared (6/17/2008)
...are all considered deterministic by SQL Server, butDatepart(Weekday, date)
is not.
Neither are:
dateadd(day, '12/30/1899', date)%7
cast(date as float)%7
cast(date as int)
Aren't the first two affected by configuration settings on the server or...
June 19, 2008 at 6:19 am
I would suggest to move TEMPDB on yet another separate drive. One drive for data, one for logs, one for TEMPDB, that worked best for us.
June 19, 2008 at 6:05 am
It is hard to describe what to do, if we don't know anything about the procedure (what columns are returned, what can be used as a key for joining to...
June 19, 2008 at 5:49 am
As far as I know, the main difference is, that SET makes this setting valid for all subsequent operations (until it is re-set or connection closed), while WITH(...) sets the...
June 19, 2008 at 2:00 am
Hello,
if the column txt_alt is defined as case sensitive (see "Collations" in SQL Server Books Online), you can use the function LOWER to find, whether there are some capital letters...
June 19, 2008 at 1:45 am
Jeff,
calculated column was my first idea, but when I tested it, I found out that it can't be made persisted because of ISDATE function (and also probably can't be indexed...
June 18, 2008 at 8:23 am
Well, that's true, but on the other hand, where are you getting the "BrokenDate" from (during the INSERT ... FROM inserted inside the trigger)? That is, what datatype is "BrokenDate"?
If...
June 18, 2008 at 8:18 am
Gail,
did you test your INSTEAD OF trigger? I tried to do it approximately the same way, but it didn't intercept the error. I was still getting the conversion error message......
June 18, 2008 at 8:05 am
This is how I would probably go about such problem...
You will need to have 2 columns in the table for this date - one datetime and one varchar. Then make...
June 18, 2008 at 8:01 am
There are many possible ways to achieve your goal... You can find a pretty detailed description here:
or, in case you have SQLS2000 and posted in a...
June 18, 2008 at 5:58 am
Something very similar was discussed several times during the last few days.
This is one of the threads:
Dynamically choosing inner or outer join
I think that similar approach could work for you...
June 18, 2008 at 5:49 am
Sorry, but as far as I know, it isn't possible... we only needed such out-of-range dates once, and that was only for storage (no calculations performed on the column), so...
June 18, 2008 at 5:40 am
jcb,
this is one of my favorite links - it discusses how to apply various search criteria, and mentions many possible solutions, their advantages, drawbacks and performance. Maybe it will help...
June 18, 2008 at 1:00 am
Jeff is absolutely right, use of ISNUMERIC is limited, it will miss many values. You can try it - if it helps, great; but you can't be sure it finds...
June 17, 2008 at 7:47 am
Depends on what your procedures look like, but you could find some useful info here: http://www.sommarskog.se/. It isn't a book, but it is a source of interesting information and helped...
June 17, 2008 at 3:46 am
Viewing 15 posts - 166 through 180 (of 1,216 total)