Viewing 15 posts - 12,766 through 12,780 (of 13,465 total)
a single query isn't too hard to diagnose, but rather than give specific suggestions, let me give you some general hints i think might help.
the key is to test the...
January 25, 2007 at 6:28 am
yes i meant that you had a choice on the naming of a foreign key;
you can leave the CONSTRAINT CONSTRAINTNAME portion off, and SQL will automatically give it a unique...
January 23, 2007 at 4:38 pm
here's my suggestions:
I've added foreign keys to your script im bold below. I've always been taught it's good practice to have the Identity to be the first column of the...
January 23, 2007 at 2:51 pm
i encountered this issue similarly when sorting a formatted date in a grid; because it is text, it would sour by month, so all the 01/01/200X are together, followed by...
January 23, 2007 at 11:19 am
John thanks for taking the time to explain how UK postal codes work;
I've only being only exposed to US postal codes, which are all numeric but can have preceeding...
January 23, 2007 at 6:13 am
you don't want to actually delete anything, because dev databases might contain the most cutting edge stored proc some developer has been working on or something, so you want to...
January 22, 2007 at 12:19 pm
January 22, 2007 at 11:15 am
there's a few things you should check:
first off, does "select *from table " return any rows? here we determine that data exists.
second, could it be that the db is case...
January 22, 2007 at 11:04 am
even mysql says that stored procs are useful, faster and more secure...they also say their implementation of stored procedures is not yet complete...
for an expert to contradict the database provider...
January 22, 2007 at 7:28 am
this might get you started; LEFT,RIGHT and SUBSTRING functions can be used to get parts of strings.
note how im checking to make sure that the field is at least 8...
January 19, 2007 at 1:24 pm
well, it depends on the field you are examine...is the field a "name" field? so you are going thru the data and making a best guess at the gender, or...
January 19, 2007 at 10:00 am
i noticed in the example you pasted, and also in the web page example, it is using extended ascii characters for the quotes (left dbl quote and right dbl quote)...
January 19, 2007 at 9:53 am
you might want to paste your procedure here; some of us can point out any spots where the procedure might be able to be optimized. I think you glazed over...
January 19, 2007 at 7:41 am
sql_er no it does not address the issue where a tablename might span across the 4000 char mark in syscomments;
in my case, i check sysdepends and this, and it's "good...
January 18, 2007 at 3:47 pm
try SELECT name, age FROM users WHERE ISNULL(age,0) = ISNULL(@age, 0)
January 17, 2007 at 11:55 am
Viewing 15 posts - 12,766 through 12,780 (of 13,465 total)