Viewing 15 posts - 136 through 150 (of 282 total)
well, I would guess it's something with the way you are calling your function.
This works fine...
declare @var varchar(1000)
set @Var = 'abceref'
select cast(@Var as text)
November 25, 2005 at 4:47 pm
Reading is fundamental....
select SUBSTRING(column1, PATINDEX('%[^0]%', column1+'A'), LEN(column1))
November 22, 2005 at 5:59 pm
Functions like that will be run for each and every row in that table I am querying though vs. once in a set based operation.
November 22, 2005 at 5:49 pm
Problem is... that replaces all spaces. Which is no good for what I am doing.
November 22, 2005 at 3:35 pm
yeah... actually I found that out already...
this is better
select SUBSTRING(column1, PATINDEX('%[^0]%', column1+'A'), LEN(column1))
November 22, 2005 at 3:14 pm
Forget it... I found it.
My buddy Bill here showed me the light..
select REPLACE(LTRIM(REPLACE(columX, '0', ' ')), '', '0') AS new_col1 .....
November 22, 2005 at 2:41 pm
That CPU # (if you are referring to the same CPU # in profiler) does not represent time, it represents the # of CPU cycles.
November 21, 2005 at 9:40 am
Recompute statistics will update statistics on all tables in the database. This is highly recommended. Poor stats will lead to poor performance.
Rebuilding an index is synonamous with reindexing. As records...
November 18, 2005 at 4:41 pm
Backup your database frequently
I have had to deal with this in the past. I would recommend that you discuss this with the application...
November 18, 2005 at 4:36 pm
yeah... definitely stuck in loading. yeah. definitely a monday.
November 15, 2005 at 4:55 pm
Chris... sounds like you either had a really bad day, or someone ran over your dog today. In either case, you just need to PRAISE JESUS!!!!!
And all will be...
November 14, 2005 at 3:26 pm
Viewing 15 posts - 136 through 150 (of 282 total)