Viewing 15 posts - 1 through 15 (of 17 total)
rhunt,
with respect, i don't think this is the same as "the worst practices" series that was kicking around a while ago. that was good.
it seems to me that this article...
September 27, 2005 at 7:37 am
nonononono!
the original article is a disgrace.
it is my opinion that your approach is, perhaps, the only valid way to respond to such a bad design suggestion. your "one table...
September 27, 2005 at 4:52 am
Disgraceful.
I used to have a great deal of respect for the guys started/maintain/edit this site but now i wonder what's gone wrong.
is steve...
September 27, 2005 at 4:37 am
i've been using stuff like this recently
patindex('%,' + @debt_type_cd + ',%', pa.DebtType) != 0
where @debt_type_cd is some value and pa.DebtType code is a comma delimited list like this
,something,somethingElse,morethings,
note the comma...
November 19, 2004 at 4:48 am
i've had pain with using DB2...
you should be able to get the data out via ODBC then datapump it into SQLServer
Good Luck!
November 16, 2004 at 12:10 pm
I hadn't thought of a permanent date table (even though i swear by them for OLAP dimensions)... what i'm doing in the rest of the proc is picking off an instrument...
November 15, 2004 at 2:23 am
yeah, why not? no-one will notice a couple of extra bytes per row
identity fields can be great as alternate keys, if you have...
July 15, 2004 at 9:15 am
try using "union all" instead of "union". union will strip out any duplicates in the result set.
July 5, 2004 at 5:35 am
here's one i use... (just a shade faster than Julian's method )
declare @clientId int
select ClientId into #ClientList from ...
while 1=1
begin
select @clientId...
June 25, 2004 at 3:25 am
one good trick i know of is related to validation of arguments...
let's say you have some procs which are called by the GUI, so you need to do some validation of...
May 24, 2004 at 8:17 am
surely the -n option would utterly ruin the data?
I could be wrong as I've never used native option in anger (as it...
May 11, 2004 at 8:06 am
One example i came across this week was a lengthy, descriptive and very helpful comment, which related to an old version of the code and as a result was completely...
January 23, 2004 at 3:53 am
quote:
tablename disable trigger triggernamethen fire the update query
and then again enable the trigger
alter table tablename enable trigger triggername
October 22, 2003 at 2:53 am
quote:
UPDATE sSET s.email = s.user_id
From pmx_shopper s
Join Inserted i
on i.user_id = s.user_id
AND i.user_id NOT IN ( '<a string>' , '<a...
December 19, 2002 at 6:12 am
Viewing 15 posts - 1 through 15 (of 17 total)