Re: Enterprise Manager displays nvarchar as <binary>

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Is Enterprise Manager running on the server or are you running remotely? Is
it possible that the workstation has the original client tools (from the CD)
with no service packs installed whatsoever? Also is the destination server
SQL Server 2005, and is the column NVARCHAR(MAX) or NVARCHAR(<=4000)? If
the former then what you are trying to do probably isn't supported. I asked
before, but I'll mention it again, why do you need Enterprise Manager to
work? Not that Open Table is ever a good idea anyway, but if you have
access to Management Studio, I don't understand why you don't just use that
tool.


On 6/9/09 2:55 PM, in article
410C6B0E-10DD-444E-B124-9D017B1FE424@xxxxxxxxxxxxx, "Dorota Laudon"
<DorotaLaudon@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

I ran your query from SQL Query Analyzer on one of the tables in the database
and it showed nvarchar type

I have nvarchar in all tables and we do not use binary column at all in our
databases so there is no way that the binary datatype was defined.

Dorota

"Erland Sommarskog" wrote:

Dorota Laudon (DorotaLaudon@xxxxxxxxxxxxxxxxxxxxxxxxx) writes:

The data type is for sure nvarchar. I even changed it to char and then I
could see the content. When I changed it back to nvarchar the word
<binary> appeared again.
Can it bee some kind of the virus in my system?

That is unlikely. Did you run:



exec sp_MShelpcolumns N'dbo.tablename, NULL


as I suggested?


--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx



.



Relevant Pages

  • RE: SBS 2003 Unable to connect to database STS_Config
    ... Uninstall the SQL server from the SBS 2k3 server from add/remove programs ... Uninstall Microsoft SQL Server Desktop Engine (SHAREPOINT) ... If AV software install any extra IIS virtual directory, ...
    (microsoft.public.windows.server.sbs)
  • Re: Memory issues with 64-bit SQL Server 2005 on 64-bit Win 2003 C
    ... I also checked the individual patch levels for the .NET drivers, SQL Server ... The SQL Server is fully patched, however Windows Update reported that the OS ... Lock pages in memory -- I guess you might have taken care of it as well. ...
    (microsoft.public.sqlserver.clustering)
  • RE: migrating from wmsde to sql server
    ... Click Start, point to All Programs\Microsoft SQL Server, and then click ... then click New SQL Server Registration. ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • RE: SBS 2003 Unable to connect to database STS_Config
    ... Uninstall the SQL server from the SBS 2k3 server from add/remove programs ... Uninstall Microsoft SQL Server Desktop Engine (SHAREPOINT) ... If AV software install any extra IIS virtual directory, ...
    (microsoft.public.windows.server.sbs)
  • Re: Best replication architecture?
    ... Looking for a SQL Server replication book? ... So if it is subscribing to Publisher 1, ...
    (microsoft.public.sqlserver.replication)