December 5, 2011 at 9:12 am
Hi All
i've created a table locally from a linked server view. When try to do a select * from .... i get
An error occurred while executing batch.
Error message is: Invalid attempt to GetBytes on column 'MYDATE'.
The GetBytes function can only be used on columns of type Text, NText, or Image.
i've done some digging and found that it's fairly common when the client is 2005 and the server 2008 but i've created the table in my local instance of sql express 2005 and am querying it from there too.
anyone?
thanks.
December 5, 2011 at 9:36 am
spin (12/5/2011)
Hi Alli've created a table locally from a linked server view. When try to do a select * from .... i get
An error occurred while executing batch.
Error message is: Invalid attempt to GetBytes on column 'MYDATE'.
The GetBytes function can only be used on columns of type Text, NText, or Image.
i've done some digging and found that it's fairly common when the client is 2005 and the server 2008 but i've created the table in my local instance of sql express 2005 and am querying it from there too.
anyone?
thanks.
What happens if you run the query using SQLCMD ?
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy