Viewing 15 posts - 61 through 75 (of 77 total)
I adjusted all column to varchar(max) and got the same error.
October 25, 2012 at 1:24 pm
I don't use SSIS, but I tried Import Wizard and ... no luck.
Here is what I've got:
Executing (Error)
Messages
Error 0xc002f210: Drop table(s) SQL Task 1: Executing the query "drop table [dbo].[ep]
"...
October 25, 2012 at 1:01 pm
Hi,
Yes, I did created linked server if this is what you're asking for.
I was looking for something similar to Oracle's "Driving_site" hint to do the join on remote site.
I...
October 16, 2012 at 2:18 pm
Thank you, it is close to what I wanted to achieve.
October 3, 2012 at 5:23 pm
Thanks for replies,
I don't use SSIS.
Not sure if it makes sense, but I was hoping to place the check for number of rows in table A (function call below)...
October 3, 2012 at 10:37 am
You're right as I see the following values:
2 days 23:28:45 .703
-4:0-57:0-26:00-703
when running SELECT * FROM T WHERE isdate(time_column) = 0
September 4, 2012 at 11:52 am
Do you think I am receiving following message because my data is stored in nvarchar(max) column?
--------------
Msg 241, Level 16, State 1, Line 9
Conversion failed when converting date and/or time from...
September 4, 2012 at 11:39 am
Thanks for replies,
Trying to use your last solution in the query and get an error:
--------------
Msg 241, Level 16, State 1, Line 9
Conversion failed when converting date and/or time from character...
September 4, 2012 at 10:19 am
Thanks Berry and Mark,
It works now as I moved rollback to prior to the insert into error table.
August 31, 2012 at 9:18 am
Elliott,
Thanks for reply, but rollback is in the CATCH block.
begin
begin try
begin transaction
update fo_run_date
set fo_act_run_date = '123';-- <== this is int going into datetime field
commit transaction;
end try
begin catch
insert into perf_bench_fo_errors (proc_name,...
August 29, 2012 at 3:56 pm
Thanks for reply, but ...
Nothing was logged into error table 🙁
August 29, 2012 at 12:18 pm
Thanks to all.
Here is what I ended up doing:
EXEC sp_MSforeachdb
@command1 = '
IF not exists(select 1 where ''?'' in (''master'',''model'',''msdb'',''tempdb''))
EXEC [?].dbo.sp_MSforeachtable
@command1 = ''INSERT INTO #Tables EXEC sp_spaceused2 ''''&'''''',
@replacechar = ''&''
'
Eugene
August 27, 2012 at 9:09 am
so it only needs to exist in master?
because at the moment it's in master and in one of other d/bs
use [master]
go
select *
from sys.objects
where name = 'sp_spaceused2'
August 23, 2012 at 3:22 pm
Thanks for reply, but I am getting the following error:
Msg 2812, Level 16, State 62, Line 1
Could not find stored procedure 'sp_spaceused2'.
declare @cmd nvarchar(100)
declare @db_name varchar(128)
declare db_cursor cursor for
select...
August 23, 2012 at 3:06 pm
Viewing 15 posts - 61 through 75 (of 77 total)