Viewing 15 posts - 3,421 through 3,435 (of 3,543 total)
Great.
If you want to process the late renewals you can use
CASE WHEN (@WeekNo - 2) < 1 THEN (@WeekNo - 2 + 52) ELSE (@WeekNo - 2) END
and change the...
February 10, 2003 at 6:47 am
WHERE SU_RenewalWeek = (CASE WHEN @WeekNo > 50 THEN (@WeekNo-50) ELSE (@WeekNo + 2) END)
will cater for @WeekNo+2 for weeks 51+
Can u explain what you are trying to do for
'This...
February 10, 2003 at 5:26 am
I would not update Person each time but use the input to identify the record to get the PersonID for the insert into the Task table. I would supply a...
February 10, 2003 at 3:43 am
When I wanted to output data to several text files I used ISQL.
February 10, 2003 at 3:20 am
Do not know of a way to insert multiple records without selecting from another table.
You could create a permanent table with the maximum number of entries and then select from...
February 10, 2003 at 3:02 am
Clive,
I answered your query on another thread but there seems to be a common problem with cdosys and attachments. Many people have posted their procs on this site and I...
February 10, 2003 at 2:46 am
Need to add another subquery
select count(*) from (select candidateid,count(*) as 'skillct'
from (select distinct candidateid,skill from #skillset) a
where @list like '%'+skill+'%' group by candidateid having count(*) = @kount) b
February 10, 2003 at 2:36 am
Rachel r u still having problems. Can u post more info, SQL version, bcp command line parameters (without security info) etc. Anything would be of help.
February 7, 2003 at 9:18 am
Thats great and speaks a lot about yourself and your honesty. As I explained I call my a DBA in title only, I too am only starting on this long...
February 7, 2003 at 9:14 am
Nice post Tim. I too have to learn in my own time as well (VB, VC++, TSQL, HTML etc) and been using SQL since 6.5. I think you probably undersell...
February 7, 2003 at 8:34 am
There are several threads on this site referring to your query and most seem to be attachments. I used the following snippet to add an attachment
EXEC @hr = sp_OAMethod @iMsg,...
February 7, 2003 at 8:20 am
Assume you pass skill list and count of skills then try
declare @list varchar(100),@kount int
set @list = 'xml,oracle'
set @kount = 2
select count(*) from (select candidateid,count(*) as 'skillct' from skillset where @list...
February 7, 2003 at 4:51 am
Is this a SQL2K issue. I have SQL7 SP4 and I never get trailing spaces with bcp for varchar columns.
February 7, 2003 at 3:36 am
Viewing 15 posts - 3,421 through 3,435 (of 3,543 total)