Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

what to place in Stored Proc sysname parameter Expand / Collapse
Author
Message
Posted Monday, January 28, 2013 8:23 AM
SSC-Addicted

SSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-Addicted

Group: General Forum Members
Last Login: Wednesday, June 8, 2016 8:18 AM
Points: 432, Visits: 1,003
I have a table that my company uses for logging. One of the columns is declared as:
event (sysname(nvarchar(128)),not null)

We have a stored proc for inserting a row to this table:


sp_addlogentry sysname

What do I place in the stored proc call for the sysname parameter?

Post #1412460
Posted Monday, January 28, 2013 8:40 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 11:39 AM
Points: 44,728, Visits: 42,596
No idea. That's not a standard procedure, must be something that your devs wrote. Check the proc, see if there are any comments and ask your colleagues


Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1412475
Posted Tuesday, January 29, 2013 8:15 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: 2 days ago @ 9:17 AM
Points: 1,029, Visits: 2,513
Can you look at the existing data in the log table to see what has been inserted in the past?
Post #1413072
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse