Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Different looks in 2005

Status
Not open for further replies.

pms18066

Programmer
Jan 12, 2005
94
US
Does anyone know why a query formatted perfectly in SQL Query analyzer would look different in SQL 2005 Studio. I verified same font and tabs are set to 8 in both. Tabs are tabs and not spaces in both. Yet the layout in 2005 is messed up, not unuseable, but not lined up like we want either. Is this a setting im overlooking somewhere?
 
Check out the number of spaces assigned to each tab character. In SQL 2005 it's Options - Text Editor - Plain Text - Tabs

[COLOR=#aa88aa black]Cum catapultae proscriptae erunt tum soli proscript catapultas habebunt.[/color]
 
Oh i see that you said 8 in your OP. Sorry about missing that.

I can't imagine the reason they're different. Have you tried inspecting the actual ascii character values of the file to see if the two applications are treating certain characters differently? A file might have a weird character that one treats as a space and the other ignores, or treats as a tab.

[COLOR=#aa88aa black]Cum catapultae proscriptae erunt tum soli proscript catapultas habebunt.[/color]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top