Viewing 15 posts - 196 through 210 (of 600 total)
changed it to datetime and got:
Conversion failed when converting datetime from character string
cast(left('pehPErcontrol',8) as datetime),
June 4, 2013 at 6:52 am
thanks Phil
I get a:
Type date is not a defined system type error
Here's the code:
cast(left('pehPErcontrol',8) as date),
June 4, 2013 at 6:47 am
Perfect!
Thanks Lowell. You are the man.
May 21, 2013 at 7:08 am
found a way...thanks anyway guys..
IF (select count(*) from [e009]) > 0
begin
exec msdb.dbo.sp_send_dbmail
@profile_name = 'Default',
@recipients = 'me@example.com',
@subject = 'warning',
@query = 'select * from [e009]',
@attach_query_result_as_file = 1,
@query_attachment_filename = 'warning.csv'
end
May 20, 2013 at 2:48 pm
lol...never is that easy..
thanks man, that's just what I was looking for..
May 10, 2013 at 12:02 pm
Guessing it kick out my users if they are in the middle of running a report?
If so, that would be bad.
Do I have any other options for my senario?
January 24, 2013 at 7:52 am
What is the value of this column, EC.EECPAYPERIOD, in EMPCOMP for the parameters @COID and @EEID passed to this function where the calculations are incorrect.
The value of EC.EECPAYPERIOD is 'B'
which...
January 10, 2013 at 9:44 am
Thanks everyone.
It's a one time pull/sync.
I'm looking into redgates data compare.
Will update.
Thanks again guys for all the help and insight.
December 5, 2012 at 3:03 pm
Thanks Phil..
This is what I have so far...
Is this going to copy only the changed (updated/inserted) record?
CREATE TRIGGER update_delete ON dbo.WSI_T_CUSTOM_BENFIT_RATES
FOR INSERT, UPDATE
AS
UPDATE WSI_T_CUSTOM_BENFIT_RATES_HIST
FROM WSI_T_CUSTOM_BENFIT_RATES
November 8, 2012 at 10:35 am
The directory is there all the time.
I'll try the UNC path.
Kinda wierd tho, cause it does work fine when the end user drops a file in..
September 13, 2012 at 1:38 pm
Viewing 15 posts - 196 through 210 (of 600 total)