Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2003
    Posts
    49

    Unanswered: SQL Server Truncation errors

    I am trying to build a job that collects various database information from all managed SQL Servers, stores data in the SQL2000 database, and data can be viewed via a webpage, but when I execute the job I am getting the following error:

    String or binary data would be truncated. [SQLSTATE 22001] (Error 8152) Associated statement is not prepared [SQLSTATE HY007] (Error 0).

  2. #2
    Join Date
    Oct 2001
    Location
    Naples, FL
    Posts
    273
    This means you are trying to insert a data element of a larger size than the destination column allows. Figure out which column and adjust its size or choose another way to do it.

    HTH
    ---------------
    Ray Higdon MCSE, MCDBA, CCNA

  3. #3
    Join Date
    Sep 2003
    Posts
    49

    Thumbs up Problem Solved

    I adjusted the column length, and that solved my problem. Many thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •