I have installed Sql Server 2008 management studio,ÃÂ and I want to use sql editor for formatting my sql code. for example. I have wrote this code as follow: always more
create table mytestTable ( myId int primary key, myCode varchar(20) not null, myValue varchar(100))
and it is hard to read. and I want to format my code as follow
create table mytestTable
ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ myId int primay key,
ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ myCode varchar(20) not null,
ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ myValue varchar(100)
I follow this step:
1:right click on toolbar and select customize
2:chose edit and find document format button in right box.
3:type my code in sql editor and finish it. but the "format the whole document " button is disalbe. so I can't to format my code.
thanks and best regard.
Although my hair is Chaotic.
View Complete Post