Viewing 5 posts - 1 through 6 (of 6 total)
I guess I don't know how to explain what I want to do that really good.. But Sushila, it seems like you've got it!
I want to be able to...
September 21, 2005 at 9:33 am
Thanks for all!
I send you a more simplified example of my problem.
--
-- Provocate an error inserting a wrong type value
insert into tPrueba (COL01) values ('A')
-- Catch the error
if...
September 21, 2005 at 8:48 am
SORRY SUSHILA, WRONG CODE...
DECLARE @intError INT
DECLARE @Col01 varchar(100)
DECLARE @Col02 varchar(100)
DECLARE @Col03 varchar(100)
DECLARE @Col04 varchar(100)
DECLARE @Col05 varchar(100)
insert into tArticulos(Articulo, Descripcion, UnidadBase, CosteEstandar)
select Col02, Col03, convert(datetime, Col04), Col05
FROM dbo.tNavisionBuffer Nav
WHERE Col01...
September 21, 2005 at 7:33 am
Code:
Like in the first messge
Error message:
Server: Msg 241, Level 16, State 1, Line 30
Syntax error converting datetime from character string.
Comments:
I have provoked the error by...
September 21, 2005 at 7:31 am
Meaby I should have explained that what I am doing is DTS, the data in tNavisionBuffer is a mix with different tables with different fields that comes from a script. The...
September 21, 2005 at 7:14 am
Viewing 5 posts - 1 through 6 (of 6 total)