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 610735
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T17:42:26+00:00 2026-05-13T17:42:26+00:00

What I have is a staging table that is all nvarchar (so i can

  • 0

What I have is a staging table that is all nvarchar (so i can load it easily). In my live table i have a bunch of ntext items. I have the following:

obviously this isnt the whole query:

update
     SLTDS_C69_Stdtable
set
    [AARIssue] = convert(ntext, st.[AARIssue]),
    [AttachmentIDs] = convert (ntext, st.[AttachmentIDs])

I get this error returned:

types ntext and nvarchar are incompatible in the equal to operator.

ANy idea how to fix this?

  • 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-05-13T17:42:27+00:00Added an answer on May 13, 2026 at 5:42 pm

    Do you want to replace the text or add to it?

    INthe first case you don’t need to convert at all, just set the filed to the value of the filed inthe other table. INthe second case you need to use UPDATE text.

    However, you have a problem in that ntext is deprecated, you should consider converting these fields to nvarchar(max) as soon as possible unless you are still running SQL Server 2000.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this scenario i have a staging table that contains all the record
I have a folder /Tables that contain all the table objects scripts. Some of
I have a database staging table that is used to store data fed in
We have a staging table (DB2) that receives production numbers on a daily basis
I currently have a number of Python scripts that help prep a staging area
i have a table that looks like this: Field: msg_sent_datetime Type: datetime yet when
I have the following (simplified) Hibernate entities: @Entity @Table(name = package) public class Package
I have read that enabling Change Data Capture obviously has an impact on database
I have a staging Rails site up that's running on MySQL 5.0.32-Debian. On this
The vendor data we load in our staging table is rather dirty. One column

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.