Viewing 15 posts - 2,971 through 2,985 (of 3,544 total)
isql /S servername /U username /P password -d databasename /i textfilename
Look up isql and osql in BOL.
Far away is close at hand in the images of elsewhere.
Anon.
November 5, 2003 at 7:04 am
Why not terminate your loop after 40 and why all the cursors?
DECLARE @temp nvarchar(200)
DECLARE @email_campaign_id as int,
@status int,
@start_datetime datetime,
@email_max_quantity int,
@email_quantity...
Far away is close at hand in the images of elsewhere.
Anon.
November 5, 2003 at 7:00 am
If id is sequential, then try this
select a.field1, a.field2, a.id
from table a
left outer join table b
on b.id = (a.id -1)
and (b.field1...
Far away is close at hand in the images of elsewhere.
Anon.
November 4, 2003 at 7:10 am
quote:
CONTAINS(ctx_desc,'"Bohrer" AND "Hartmetall" AND "3.0"')
This is exactly how I use Full Text Search.
I...
Far away is close at hand in the images of elsewhere.
Anon.
November 4, 2003 at 2:28 am
The query I posted worked fine for me, with single or double quotes.
However ckempste's does not?
What version of sql are you on, I'm on SLQ7 SP4.
Far away is close at hand in the images of elsewhere.
Anon.
November 4, 2003 at 2:04 am
Andy, cannot find the content, is there a problem?
Far away is close at hand in the images of elsewhere.
Anon.
November 3, 2003 at 6:44 am
The last time I did something like this was to use a same name for the fields which results in an array of results. I then use the length of...
Far away is close at hand in the images of elsewhere.
Anon.
November 3, 2003 at 6:34 am
Update dbo.table
set c_alias = 'Test'
where c_alias IN ('Work', 'Book', 'Event')
This will replace c_alias with Test where it is either Work,Book or Event. Is this what...
Far away is close at hand in the images of elsewhere.
Anon.
November 3, 2003 at 6:25 am
Use SQLCHAR for the input fields, sql server will convert where necessary. SQLINT expects the data to be binary.
Far away is close at hand in the images of elsewhere.
Anon.
November 3, 2003 at 6:21 am
Put quotes around text you want found
where contains(indexedcolumn,"3.0")
Far away is close at hand in the images of elsewhere.
Anon.
November 3, 2003 at 6:17 am
quote:
can't let loose from work?
Nah! Week hols Frank, just keeping in touch with the...
Far away is close at hand in the images of elsewhere.
Anon.
November 1, 2003 at 7:40 am
Sure interesting the number of times this type of problem crops up. For problems like this cursors seem the best bet as trying to build a dynamic query can sometimes...
Far away is close at hand in the images of elsewhere.
Anon.
October 31, 2003 at 1:38 pm
OK now I understand the problem. My suggestion is that if you want to avoid cursors, I would do the following
On each table (tdSei and tdSit in this eaxmple) add...
Far away is close at hand in the images of elsewhere.
Anon.
October 28, 2003 at 7:24 am
This is my original attempt
SELECTa.SEQ,a.KukS,
b.SeRyCD,b.SeFl,
c.SiRyCD,c.SiFl
FROMtdKuk a
LEFT OUTER JOIN tdSei b
ON b.SEQ = a.SEQ AND b.KukS = a.KukS
LEFT OUTER JOIN tdSit c
ON c.SEQ = a.SEQ...
Far away is close at hand in the images of elsewhere.
Anon.
October 24, 2003 at 7:07 am
In the target database, I would update matches first
UPDATE d
SET d.col1=s.col1,
d.col2=s.col2
...
FROM destinationtable d
INNER JOIN sourcedatabase..sourcetable s
ON s.key = d.key...
Far away is close at hand in the images of elsewhere.
Anon.
October 24, 2003 at 6:39 am
Viewing 15 posts - 2,971 through 2,985 (of 3,544 total)