Viewing 15 posts - 436 through 450 (of 485 total)
That code does not contain a subquery, therefore the error message refers to something else.
May 17, 2006 at 8:05 am
UPDATE
May 10, 2006 at 2:00 pm
Actually, I thought it was pretty clear that as much as possible should be in the DB. Those business rules that cannot be implemented as DRI should be coded into...
February 20, 2006 at 7:17 am
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
Viewing 15 posts - 436 through 450 (of 485 total)