Viewing 15 posts - 436 through 450 (of 482 total)
There's 2 questions that come up with the DRI discussion:
1) Wthout DRI, is there a guarantee that the data has integrity? How? (This is not to say DRI can enforce...
February 16, 2006 at 12:25 pm
How are you storing it? INT or VARCHAR?
If you're storing INT, then do nothing: it's a presentation issue, and you can format it on retrieval. (This is what we've done...
January 10, 2006 at 1:30 pm
Automate any repetitive manual tasks, prioritized by the amount of time you spend doing them.
Write general-case and/or parameterized solutions for these, so that they will be ready to handle new...
January 10, 2006 at 1:13 pm
Non-clustered index seek on SQL 2000 sp2. The table does not have a clustered index.
P
March 24, 2005 at 7:38 am
I tried LIKE and PATINDEX on a table with a unique constraint. When searching at the beginning of the string ('C%'), both used that index, with PATINDEX using INDEX SCAN...
March 23, 2005 at 12:14 pm
Use LIKE when comparing from the beginning of a string.
Otherwise, LIKE and PATINDEX will usually have the same execution plan.
P
March 23, 2005 at 10:02 am
Actually, LIKE 'something%' will perform better (only when you're looking from the beginning of the string - LIKE '%something%' will do a table scan).
This is because LIKE can use an...
March 1, 2005 at 9:49 am
The parm is to limit the cursor rows?
DECLARE mycursor CURSOR FOR
SELECT cols
FROM mytable
WHERE col1 = @myparm
OPEN mycursor.....
March 1, 2005 at 8:46 am
Yep. Choose All Objects and Data, and you're on your way.
P
February 21, 2005 at 7:30 am
See CREATE FUNCTION in BOL...a table-valued function can only accept a constant or a variable in it's arguments.
February 9, 2005 at 8:50 am
Well, for sure you're going to have to use the with MOVE, since the folders on developer's stations have different structure than prod boxes.
What I've done is write a sproc...
February 3, 2005 at 1:30 pm
Can't SELECT...INTO a table var either.
February 3, 2005 at 12:03 pm
See CREATE FUNCTION in BOL.
It states that dynamic SQL is not allowed in functions.
Instead of having new tables everyday (tablename_businessdate), why not have permanent tables with a businessdate column. Then,...
February 3, 2005 at 9:06 am
Viewing 15 posts - 436 through 450 (of 482 total)