Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

INSERT INTO MSAccess Linked Table Memo Field FROM SQL Server VARCHAR Field

$
0
0

I know I am doing the opposite of everyone else.  But I need to INSERT INTO MSAccess Linked Table Memo Field FROM SQL Server VARCHAR Field.  Don't ask why...

I have tried CAST and it does not seem to work.

Example:

       INSERT INTO [LocalAccessDB]...[TableName] ([FieldID], [FieldMemo])

       SELECT [FieldID], [FieldVARCHAR] FROM [SQLServer].[dbo].[TableName];

or

       INSERT INTO [LocalAccessDB]...[TableName] ([FieldID], [FieldMemo])

       SELECT [FieldID], CAST([FieldVARCHAR] AS OtherTypes) FROM [SQLServer].[dbo].[TableName];

Thanks in advance!

Access 2010, SQL Server 2005

Andy Hatfield - Part time programmer to pay the bills of a full time teacher ;)




Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>