Viewing 15 posts - 12,751 through 12,765 (of 13,446 total)
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
if it's taking 1.5 hours to complete, i bet it's got a row by row cursor on a big table, and whatever it is doing might be optimized into one...
January 17, 2007 at 9:27 am
Stephen's right...you could use a case statement to avoid the < 20 pitfall:
CASE WHEN len(Incident_Details.Description) < 20 then '' ELSE
substring(Incident_Details.Description, 20, len(Incident_Details.Description) -19) END AS...
January 17, 2007 at 9:18 am
peter I'm having a similar issue when i try to do it as well in my 2005 test server.
I never created my info views based on other views, so in...
January 16, 2007 at 8:59 am
it's the alias for the count....we still need the schema and datasample to give a meaningful answer.
SELECT USER,
CASE WHEN ISNULL(APPLICATION1,0)=0 THEN 0 ELSE 1 END +
CASE WHEN ISNULL(APPLICATION2,0)=0 THEN...
January 16, 2007 at 8:07 am
Viewing 15 posts - 12,751 through 12,765 (of 13,446 total)