Viewing 15 posts - 6,841 through 6,855 (of 7,636 total)
Looks OK to me, but I am not an expert on OPENQUERY.
May 27, 2008 at 7:01 am
My bad, I got it backwards. Try:
SET QUOTED_IDENTIFIER OFF
instead.
May 27, 2008 at 6:55 am
You should use two separate BULK INSERT commands, to the same table.
May 27, 2008 at 6:50 am
I have to confess, I've never even heard of an MBD file. Did you mean an Access .MDB file?
May 27, 2008 at 6:48 am
CREATE [UNIQUE] INDEX idxTablenameKeyDT
ON TableName ( Key, DT )
May 26, 2008 at 11:04 pm
Well, it does not appear that the "DT" column is in the index, and since it has to get both it and the join Key values, it's probably faster to...
May 26, 2008 at 10:26 pm
Jeff Moden (5/26/2008)
... providing that there is a presentation layer... 😉
Heh. Well, unless they're displaying with SSMS, there's *something* doing the presentation, otherwise, why try to format it?
May 26, 2008 at 10:22 pm
My Pet Peeve:
Posters who say "...this returns an error." or "...this doesn't work."
People; PLEASE do not leave it at this, give us ALL of the relevant information! If it...
May 26, 2008 at 8:12 pm
Can it be done? Yes.
Should it be done? No.
This is a presentation problem and it should be handled by the presentation layer, NOT the data manipulation layer.
May 26, 2008 at 8:02 pm
This should do it:
Create Trigger trgJuggleDates
On tablename
After Update
AS
IF Update(Date1) OR Update(Date2) or Update(Date3)
BEGIN
Update T
Set Date4 =
CASE When (Date1+Date2+Date3) is Null Then Null
ELSE ( Case...
May 26, 2008 at 7:55 pm
Although I do not know your specific situation, it is usually true that you should not be taking copies of the Employees database out of your office and putting them...
May 26, 2008 at 6:04 pm
Though looking at it I think that you will need more apostrophes...
May 26, 2008 at 5:28 pm
Try this:
', DateUpdated = '+ CAST(GetDate() as varchar(24))+ CHAR(13)+
May 26, 2008 at 5:27 pm
Viewing 15 posts - 6,841 through 6,855 (of 7,636 total)