Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9237939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T07:38:45+00:00 2026-06-18T07:38:45+00:00

INSERT INTO [CVSUAT].[dbo].[UserLevel ]( [Client_ID] ,[User_Level_Name] ,[User_Level_Description] ,[Created_by] ,[Created_Date] ,[Modified_by] ,[Modified_Date] ,[Delete_Flag] ,[Deactivate_Flag]) VALUES

  • 0
 INSERT INTO [CVSUAT].[dbo].[UserLevel ]( 
  [Client_ID]
  ,[User_Level_Name]
  ,[User_Level_Description]
  ,[Created_by]
  ,[Created_Date]
  ,[Modified_by]
  ,[Modified_Date]
  ,[Delete_Flag]
  ,[Deactivate_Flag]) VALUES ('sndbsndbsdnbsndbsnbdnsbdn23','Client','','Client','2013-03-12 21:31:38.437','Client','2013-03-12 21:31:38.437','0','0')

Msg 8152, Level 16, State 4, Line 1
String or binary data would be truncated.
The statement has been terminated.

enter image description here

NOTE: My Table has a space [UserLevel ] as it was made that way from before

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T07:38:46+00:00Added an answer on June 18, 2026 at 7:38 am

    This is caused by attempting to put too much data into a column.

    The trouble is, none of the values specified in your example are too large for the columns indicated in your schema picture. I’d therefore assume that the values you’ve given us either aren’t the true values, or you’ve got a trigger on that table, which is actually what is causing the error.

    As an aside, shouldn’t your Delete_Flag and Deactivate_Flag columns be of datatype bit, rather than char(1)?

    Edit:

    Oh, and one more thing – as Client_ID is an nvarchar, you probably want to store unicode data in there. To indicate this in your script, you should use the “N” prefix on your strings, like so:

    INSERT INTO [CVSUAT].[dbo].[UserLevel ]( 
      [Client_ID]
      ,[User_Level_Name]
      ,[User_Level_Description]
      ,[Created_by]
      ,[Created_Date]
      ,[Modified_by]
      ,[Modified_Date]
      ,[Delete_Flag]
      ,[Deactivate_Flag]) VALUES (N'sndbsndbsdnbsndbsnbdnsbdn23','Client','','Client','2013-03-12 21:31:38.437','Client','2013-03-12 21:31:38.437','0','0')
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

INSERT INTO [Temp].[dbo].[Student] ([Fname], [Lname], [Gender]) VALUES (N'Aname', N'Alname', N'Male') GO This codes workes
INSERT INTO dbo.VehiclesCategories ( VehicleId, CategoryId ) VALUES ( t1.ID , t2.ID) SELECT t1.ID,
I tried this: INSERT INTO tbl_vaucher ( vaucher_name, created_date ) VALUES ( ( SELECT
Following statement: INSERT INTO dbo.Changes([Content], [Date], [UserId], [CompanyId]) VALUES (@1, @2, @3, @4); SELECT
INSERT INTO `ree`.`media` (`CREATEDATE`, `FILETYPE`, `MIMETYPE`, `MLSNUMBER`, `MODIFYDATE`, `POSITION`, `URL`) VALUES ('2011-12-27T15:00:16', 'PRIMARY PHOTO',
INSERT INTO files (fileUID, filename) WITH fileUIDS(fileUID) AS ( VALUES(1) UNION ALL SELECT fileUID+1
insert into Attributes (Id, Disabled, AttributeValue) values (@id, @disabled, @attr_value) if not exists (
INSERT INTO 'tblJobNumbers' VALUES (NULL, '3006', '05', 'THISTHS', 0, 'JOBLOCATION', '', '', 'JOBCOMMENTS', 'ES',
INSERT INTO product_search_table (id, score) VALUES ( SELECT product_id, 50 FROM cart_product WHERE product_id
Cannot insert the value null into column 'COLUMN1',table'DB1.dbo.table1';Column does not allow nulls. Insert fails.the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.