Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2008
»
T-SQL (SS2K8)
»
what to place in Stored Proc sysname...
what to place in Stored Proc sysname parameter
Rate Topic
Display Mode
Topic Options
Author
Message
dndaughtery
dndaughtery
Posted Monday, January 28, 2013 8:23 AM
SSC Veteran
Group: General Forum Members
Last Login: Yesterday @ 2:27 PM
Points: 237,
Visits: 526
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
GilaMonster
GilaMonster
Posted Monday, January 28, 2013 8:40 AM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 6:22 AM
Points: 38,077,
Visits: 30,372
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 2008, MVP
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
timwell
timwell
Posted Tuesday, January 29, 2013 8:15 AM
SSC Journeyman
Group: General Forum Members
Last Login: Yesterday @ 1:52 PM
Points: 99,
Visits: 661
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 »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.