Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
Kristen
Test
22859 Posts |
Posted - 2004-07-08 : 13:59:17
|
I have been slack at putting SET xxx ON/OFF in my SProc source code files, and got bitten by the machine they were run from having unexecpted defaults.So I'd now like to put a COMPLETE set of SENSIBLE defaults in all my SProc source code files, and adjust them as required (which will be rarely).Any suggestions on this as a default set please:SET ANSI_NULLS ONSET ANSI_PADDING ONSET ANSI_WARNINGS ONSET ARITHABORT ONSET CONCAT_NULL_YIELDS_NULL ONSET QUOTED_IDENTIFIER ONSET NUMERIC_ROUNDABORT OFF...CREATE PROCEDURE MySProc...ASSET NOCOUNT ONSET XACT_ABORT ON... SProc body ...SET NOCOUNT OFFRETURN @intRetVal -- Return error number, 0=No error Kristen |
|
|
|
|
|