![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
does anyone know how to keep QA from adding the lines setting these two options on and off along with blank lines at the beginning and end of every object you edit? i have searched quite a bit on this but haven't been able to come up with anything. |
#3
| |||
| |||
|
|
does anyone know how to keep QA from adding the lines setting these two options on and off along with blank lines at the beginning and end of every object you edit? i have searched quite a bit on this but haven't been able to come up with anything. |
#4
| |||
| |||
|
|
Ted Theo (tedt... (AT) gmail (DOT) com) writes: does anyone know how to keep QA from adding the lines setting these two options on and off along with blank lines at the beginning and end of every object you edit? i have searched quite a bit on this but haven't been able to come up with anything. There does not seem to be an option for this. it's just a bit of a nuisance like you said. i have more projects |
|
The reason they are there, is that these to set options are saved with the procedure. I can understand that it is a bit of a nuisance. But since Enterprise Manager incorrectly has these two off by default, it's probably a good thing that QA includes them with the right setting. (But it's not good that there is a SET OFF for one of them at the end.) Personally, I don't find this a hassle, since I keep my code under source control, and rarely have reason to script it from the database. -- Erland Sommarskog, SQL Server MVP, esq... (AT) sommarskog (DOT) se Books Online for SQL Server 2005 athttp://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books... Books Online for SQL Server 2000 athttp://www.microsoft.com/sql/prodinfo/previousversions/books.mspx |
#5
| |||
| |||
|
|
is there a reason I wouldn't want to do this? |
#6
| |||
| |||
|
|
is there a reason I wouldn't want to do this? Conformance to ANSI/ISO Standards should be a goal in any shop, |
#7
| |||
| |||
|
|
it's just a bit of a nuisance like you said. i have more projects that don't use source control (single dev projects) than ones that do so i encounter it frequently. i have a high level understanding of what both options accomplish and i haven't found a case where setting them at the individual object level has been advantageous. maybe i'm just missing that part. |
|
it seems sql server management studio just turns these settings on when scripting an object and doesn't turn them off. is there a way to turn this behavior off in mgmt studio? is there a reason i wouldn't want to do this? |
#8
| |||
| |||
|
|
is there a reason I wouldn't want to do this? Conformance to ANSI/ISO Standards should be a goal in any shop, so you would not turn off options that bring you to that goal. Why would you want to write your own database language? |
![]() |
| Thread Tools | |
| Display Modes | |
| |