![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Hi everyone I had no problems with Enterprise Manager until recently. At this moment the content of NVARCHAR columns is displayes as <binary>. If the datatype is changed to varchar the contents is displayed correctly. The data content is also shown correctly from SQL Query Analyzer but VIEW and TABLE browsing in EM has the problem mentioned above. I uninstalled SQL Server Client Tools and installed them back without any success in solving the problem. OS: XP sp 3 SQL Server Client : sp 3 Any ideas? |
#2
| |||
| |||
|
|
Management Studio is working fine. The problem is only related to Enterprise Manager. |
#3
| |||
| |||
|
|
Dorota Laudon (DorotaLaudon (AT) discussions (DOT) microsoft.com) writes: I had no problems with Enterprise Manager until recently. At this moment the content of NVARCHAR columns is displayes as <binary>. If the datatype is changed to varchar the contents is displayed correctly. The data content is also shown correctly from SQL Query Analyzer but VIEW and TABLE browsing in EM has the problem mentioned above. I uninstalled SQL Server Client Tools and installed them back without any success in solving the problem. Double-check that the data type is nvarchar. Maybe the type is varbinary after all. What does this query say: exec sp_MShelpcolumns N'dbo.tablename, NULL This is the query that EM runs to find out the definition of the table. -- Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se 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/prodinf...ons/books.mspx |
#4
| |||
| |||
|
|
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? |
|
exec sp_MShelpcolumns N'dbo.tablename, NULL |
#5
| |||
| |||
|
|
Dorota Laudon (DorotaLaudon (AT) discussions (DOT) microsoft.com) 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 (AT) sommarskog (DOT) se 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/prodinf...ons/books.mspx |
#6
| |||
| |||
|
|
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 (AT) discussions (DOT) microsoft.com) 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 (AT) sommarskog (DOT) se 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/prodinf...ons/books.mspx |
![]() |
| Thread Tools | |
| Display Modes | |
| |