Viewing 15 posts - 1,846 through 1,860 (of 2,009 total)
After Re-Reading the Section in BOL on SET_QuotedIdentified I decided this probably wouldn't work for you. I believe the real solution will be to use a format file. This way...
August 9, 2006 at 7:32 am
Do you have any control over the way the import file is created? If so, can you change the delimiter from a ',' to something that won't be included in...
August 9, 2006 at 6:43 am
You need to use it once for each date...
WHERE created_date BETWEEN DATEADD(mm, DATEDIFF(mm,0,'08/01/2006'), 0) -- Eq to {d '2006-08-01 00:00:00'} or 08/01/2006 00:00:00
AND DATEADD(mm, DATEDIFF(mm,0,'08/02/2006'), 0) --Eq to {d '2006-08-02 00:00:00'} or 08/02/2006 00:00:00
It drops any time portion from a date...
August 8, 2006 at 1:10 pm
Depending on the size of the table yyou are querying the cast may begin to perform poorly... Another Alternative that you'll actually be able to pass a datetime to as...
August 8, 2006 at 9:46 am
Since you're writing out a file anyway, why not use DTS? You can call your DTS Package through DTSRUN, since you're already using XP command shell I figure this shouldn't...
August 1, 2006 at 12:59 pm
So you just want to copy all of your records from table b to table A? If that's the idea have a go with this...
INSERT INTO tableA
August 1, 2006 at 12:41 pm
Although my title is 'database analyst', I spend a decent portion of my time as a VB developer and general IT lackey as well.
July 28, 2006 at 1:06 pm
Are you setting variables inside of your sproc? I've seen issues where if you have a statement like
DECLARE @MyVar
SELECT *
FROM tblMytable
WHERE col1 = @Myvar
If the variable doesn't have a value,...
July 27, 2006 at 2:24 pm
Could you please be a bit more specific about the errors you are receiving?
July 27, 2006 at 2:15 pm
Yes, absolutly.
Sorry for the typo.
July 18, 2006 at 11:13 am
It seems to me the answer to your qurstion would be... It Depends...
What are you trying to do? What kind of code are your attempting to do this in?
July 18, 2006 at 6:42 am
Don't know if this will help with your True/false issues , but it may. Try using NULLIF to help get the proper data.
NULLIF(AT_Active, 'False') <> 'True'
So if the value is...
July 18, 2006 at 6:39 am
I dont' know if this will help or not, but 01/01/1900 is what you get when you cast '' as a datetime. You get 01/10/1899 when you subtract 365 from...
July 6, 2006 at 12:52 pm
I agree about the RS bit. Also how many apps out there already consume way more memory than they really need to. I could see some companies deciding that they...
July 5, 2006 at 7:42 am
Viewing 15 posts - 1,846 through 1,860 (of 2,009 total)