Viewing 15 posts - 3,421 through 3,435 (of 3,544 total)
Do not know much about image columns (do not use them myself) but I believe the only way to read and write image columns is to use READTEXT and WRITETEXT.
In...
Far away is close at hand in the images of elsewhere.
Anon.
February 11, 2003 at 2:42 am
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...
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
February 10, 2003 at 5:26 am
Not pretty but give you what u want
declare @d datetime
declare @w int
set @d = '2003-01-01'
set @w = 5
set datefirst 1
set @d = @d-(datepart(dw,@d)-1)
select @d+((@w -1) * 7),(@d+((@w -1) * 7))+6
...
Far away is close at hand in the images of elsewhere.
Anon.
February 10, 2003 at 4:48 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...
Far away is close at hand in the images of elsewhere.
Anon.
February 10, 2003 at 3:43 am
When I wanted to output data to several text files I used ISQL.
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
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
Far away is close at hand in the images of elsewhere.
Anon.
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.
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
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,...
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
February 7, 2003 at 4:51 am
Viewing 15 posts - 3,421 through 3,435 (of 3,544 total)