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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T02:00:20+00:00 2026-06-04T02:00:20+00:00

I have read only access to some SQL Sever 2008 R2 database and I

  • 0

I have read only access to some SQL Sever 2008 R2 database and I need to copy data from some of its tables to the tables in my database; both databases have the same collation.

The source database uses a lot of columns of text datatype. Can I safely make the target columns in my database of type varchar(MAX) and copy data without any risk (I am using INSERT statements to copy data)?

In other words, can I safely copy string data from column of text type to the column of varchar(MAX)? Both columns use the same collation.

  • 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-04T02:00:21+00:00Added an answer on June 4, 2026 at 2:00 am

    Yes, definitely – VARCHAR(MAX) is the type you should be using anyway. The underlying implementation of both types is essentially the same (on large enough data, or after a type change from text to VARCHAR(MAX)), if you worry about that.

    You can even “convert” an existing column of type TEXT to VARCHAR(MAX) by means of:

    ALTER TABLE dbo.YourTableHere
    ALTER COLUMN YourTextColumnHere VARCHAR(MAX)
    

    This will turn your TEXT column into a VARCHAR(MAX) column without any data loss.

    Try it! (on a copy of your existing database first, of course)

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

Sidebar

Related Questions

I have some xml files that will be read-only that I need to access
I am building application that required some data from iPhone's Call log(read only). The
I have read only permission on a SQL Server 2005 database, and I'm looking
I have some existing code that retrieves data from a database using ADO.NET that
My essential problem is that I have read only access to a large data
I have a web page with a read-only text box which shows some HTML
I have an sqlite database, and I would like to keep it read-only without
I have 5 websites running on same server and I have some sql tables
I have an SQL Server 2008 Database and am using C# 4.0 with Linq
We have an application in Access for UI and MS Sql server as Database

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.