SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Tab Key
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sanjay5219
Posting Yak Master

178 Posts

Posted - 05/04/2012 :  12:42:31  Show Profile  Reply with Quote
Hi All,

I am struggling with TAB key value "BOX SHAPE" in my SQL Server. I have tried replacing with char(13) but is does not work and the problem is when i am generating raw data in notepad it gives me everywhere that box

Please suggest

sunitabeck
Flowing Fount of Yak Knowledge

5152 Posts

Posted - 05/04/2012 :  15:47:31  Show Profile  Reply with Quote
It may be that they are not tabs at all. You can cast the column to varbinary and look at the ascii code to see what the character(s) are.
SELECT ColA,CAST(colA AS VARBINARY) FROM YourTable
It could also be that the data in the table has some other collation. Japanese, Chinese etc. perhaps? You can see if it has any unexpected collations using this:
SELECT name,collation_name FROM sys.columns WHERE OBJECT_NAME(OBJECT_ID) = 'YourTable'
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000