Viewing 10 posts - 76 through 86 (of 86 total)
HowardW (2/17/2011)
The reason not to use them in most cases is because you could/should replace them with set based statements.
thanks for clarifying. I have used CURSORS where I only work...
February 17, 2011 at 6:37 am
would a CURSOR for each row in tblGroups not work, or is that a bit overkill?
February 17, 2011 at 3:16 am
if you only need data from table A, why not use a DISTINCT and only select values from table A?
SELECT DISTINCT _TOPICS.ID, _TOPICS.TITLE
FROM _TOPICS
RIGHT OUTER JOIN _THREAD
ON _TOPICS.TITLE =...
February 17, 2011 at 1:16 am
Hi
Do you have access to the Management Studio? If you do, you can reset it by going to Security -> Logins
then right click properties on the sa account and change...
February 17, 2011 at 1:08 am
yip, I made it varchar(320)
also going through the other bib tables to make sure there aren't other unnecessary uses of text fields
February 15, 2011 at 5:33 am
wow! the average size is 90-120 chars with the max being 290 chars, why would they have made it a text field.
anyways, will run the ALTER TABLE statement when everyone...
February 15, 2011 at 5:21 am
that makes sense, didn't think of that.
They can be quite long, but I doubt it is that large, the table is part of a legacy system developed yonks ago. Will...
February 15, 2011 at 2:25 am
Thanks Gila, I was on the right path then, just needed some confirmation.
my index I created looks like this:
CREATE INDEX idx_PC ON nbs_sa_4740 (NBSPC)
INCLUDE (ISBN13, TL)
thanks
February 15, 2011 at 2:07 am
[ISBN13] [varchar](13)
[TP] [varchar](9)
[TL] [text]
[NBSPC] [varchar](50)
[RPG] [varchar](200)
The field in question is the NBSPC field.
February 15, 2011 at 2:01 am
Viewing 10 posts - 76 through 86 (of 86 total)