Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
Microsoft Access
»
Microsoft Access
»
SQL Server nvarchar(max) fields are truncated...
SQL Server nvarchar(max) fields are truncated
Rate Topic
Display Mode
Topic Options
Author
Message
valeryk2000
valeryk2000
Posted Wednesday, September 12, 2012 6:59 AM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Tuesday, April 30, 2013 12:01 PM
Points: 117,
Visits: 225
My Access 2003 (or 2007) has linked tables to SQL Server 2008 (I'm using SQL Native Client 10). Forms, reports and queries are, naturally, local. Problem: all data nvarchar(max) fields are truncated - in Access the record is chopped - ~ 255 from the end of the record. Can it be fixed? And if yes then HOW?
Post #1357952
Jo Pattyn
Jo Pattyn
Posted Wednesday, September 12, 2012 1:11 PM
Ten Centuries
Group: General Forum Members
Last Login: Today @ 5:11 AM
Points: 1,332,
Visits: 4,322
What type are the Access datafields? Memo?
Post #1358175
valeryk2000
valeryk2000
Posted Wednesday, September 12, 2012 2:18 PM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Tuesday, April 30, 2013 12:01 PM
Points: 117,
Visits: 225
Yes - memo
Post #1358205
Jo Pattyn
Jo Pattyn
Posted Thursday, September 13, 2012 3:23 AM
Ten Centuries
Group: General Forum Members
Last Login: Today @ 5:11 AM
Points: 1,332,
Visits: 4,322
I don't have the time to test it properly.
Same problem mentioned
Do you have the problem in a blank access 2010 database? As 2003/2007 is out of active support.
Office life cycle
Post #1358423
valeryk2000
valeryk2000
Posted Thursday, September 13, 2012 7:56 AM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Tuesday, April 30, 2013 12:01 PM
Points: 117,
Visits: 225
No 2010. Why no active support for 2003-2007 (by Microsoft?)
Actually I found the solution - changed (n)varchar(max) to text, and this one Access handles as memo.
Thanks
Post #1358575
Sean Lange
Sean Lange
Posted Thursday, September 13, 2012 10:48 AM
SSCrazy Eights
Group: General Forum Members
Last Login: Yesterday @ 1:17 PM
Points: 8,641,
Visits: 8,273
valeryk2000 (9/13/2012)
No 2010. Why no active support for 2003-2007 (by Microsoft?)
Actually I found the solution - changed (n)varchar(max) to text, and this one Access handles as memo.
Thanks
That may work short term but in the long run that is not going to survive. The text datatype has been deprecated and will be removed in the future.
_______________________________________________________________
Need help? Help us help you.
Read the article at
http://www.sqlservercentral.com/articles/Best+Practices/61537/
for best practices on asking questions.
Need to split a string? Try Jeff Moden's
splitter
.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Post #1358716
valeryk2000
valeryk2000
Posted Thursday, September 13, 2012 1:51 PM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Tuesday, April 30, 2013 12:01 PM
Points: 117,
Visits: 225
That may work short term but in the long run that is not going to survive. The text datatype has been deprecated and will be removed in the future.
It will happen to versions later that 2008.
Post #1358846
Sean Lange
Sean Lange
Posted Thursday, September 13, 2012 2:02 PM
SSCrazy Eights
Group: General Forum Members
Last Login: Yesterday @ 1:17 PM
Points: 8,641,
Visits: 8,273
valeryk2000 (9/13/2012)
That may work short term but in the long run that is not going to survive. The text datatype has been deprecated and will be removed in the future.
It will happen to versions later that 2008.
The text datatype is still available even in sql 2012 but it will go away at some point in the future.
_______________________________________________________________
Need help? Help us help you.
Read the article at
http://www.sqlservercentral.com/articles/Best+Practices/61537/
for best practices on asking questions.
Need to split a string? Try Jeff Moden's
splitter
.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Post #1358854
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.