Viewing 15 posts - 106 through 120 (of 154 total)
can you explain why you want it in descending order ?
January 24, 2002 at 10:34 am
Designing databases , writing procedures!!you have to love every aspect of it!!!
January 24, 2002 at 10:12 am
i would not use char for numeric values,
for the second,third fields i would use tinyint,smallint because
1) it would be half the size of char
2) you would have to put...
January 7, 2002 at 12:41 am
that WILL be treated as four different queries ...
this should do it in one
UPDATE TempNew
SET Relation = CASE Evaluation
WHEN 1 THEN 'EVALUATION'
WHEN 0 THEN
CASE CHANNEL...
December 20, 2001 at 1:13 am
Sorry , This is the right answer , i've used the pubs database for the sample query
DECLARE @sql Nvarchar(500),
@Var NVarchar(100),
@rc int
SET @Var = '@RC int...
November 20, 2001 at 7:27 am
November 20, 2001 at 7:24 am
Visual InterDev has a nice debugger for SP's!!
October 4, 2001 at 6:12 am
the whole idea of using a aliased column in the where clause goes against the way the query is processed in SQL . the where clause would be resolved first...
October 4, 2001 at 6:08 am
oh ye of little faith,
i think the query can be refined a bit to look for 0s'
this subquery can be modified like this
SELECT btiuser ,
cast (CASE
...
September 26, 2001 at 5:04 pm
i should go and get some sleep 😉
its a group by clause thats missing , sorry for that
select btulogin as username ,
ISNULL ( vperhour , 'n/a') as vperhour ,
ISNULL...
September 26, 2001 at 3:41 pm
as for the string being more than 8000 characters the solution would be to join
several variables like EXEC ( @var1 + @var2)
brian ,i think the solution using text datatype...
September 26, 2001 at 3:15 pm
sorry that should be!!
select btulogin as username ,
ISNULL ( vperhour , 'n/a') as vperhour ,
ISNULL ( sperhour , 'n/a') as sperhour ,
ISNULL ( cperhour , 'n/a') as cperhour ,...
September 26, 2001 at 3:07 pm
does this work for you??
select btulogin as username ,
ISNULL ( vperhour , 'n/a') as vperhour ,
ISNULL ( sperhour , 'n/a') as sperhour ,
ISNULL ( cperhour , 'n/a') as cperhour...
September 26, 2001 at 3:02 pm
can you post the code!!
also what is the client app developed in??
September 26, 2001 at 4:57 am
i think the issue here is not explaining what the SP does but what the system or the module does as a whole .. unless the developer has a good...
September 24, 2001 at 11:14 am
Viewing 15 posts - 106 through 120 (of 154 total)