80040e07 Error on testing server

  • Hi..!!!

    I have two sql 2003 servers, one for production data and one for testing purposes.

    The following sentence works perfectly on the production server, but generates and error on the testing server, I think there is a problem in the testing server configuration's, can any one help me...?

    Sentence:

    INSERT INTO Vacaciones_Hist VALUES ( 'EMPRESA', 3, 2007, 'AV', convert(varchar(10),'2007/01/01',120), '2007-2008', convert(varchar(10),'2007/12/31',120), 16, current_timestamp , current_timestamp ,'TEST')

    Table design:

    Cia_Id           nvarchar 10 

    Empleado_Id   int 4 

    Ano_Vac        int 4 

    Tipo_Mov       nvarchar 50 

    Fecha_Inicial  smalldatetime 4 

    Periodo_Ano   nvarchar 10 

    Fecha_Final    smalldatetime 4 

    Vac_Valor       real 4 

    Date_Cre        smalldatetime 4 

    Date_Mod       smalldatetime 4 

    User_Id          nvarchar 10 

    thanks for your help...!!

  • do not cross post...the Active topics function allows everyone to see new posts, regardless of forum. there is no need to ask the same question in multiple places.

    answered here:

    http://qa.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=349780

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply