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 |
|
limericklad1974
Starting Member
39 Posts |
Posted - 2009-01-07 : 16:51:16
|
| Hi,I have a database table called Database Settings. It has two columns (Name and Value)Another programmer has written a stored proc which is called pr_dal_DatabaseSettings_SelectOneIt is written as follows:set ANSI_NULLS ONset QUOTED_IDENTIFIER ONgoALTER PROCEDURE [dbo].[pr_dal_DatabaseSettings_SelectOne] @Name varchar(50), @ErrorCode int OUTPUTASSET NOCOUNT ONSELECT [Name], [Value]FROM [dbo].[DatabaseSettings]WHERE [Name] = @NameSELECT @ErrorCode=@@ERRORWe have started to get crashes on our application and I am wondering if this stored proc is causing the problem.In the Database Settings table, there are entries which are 53 characters. The stored proc limits to 50, is this an issue???Many thanks for any advice!Damien |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
|
|
|
|
|