SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
Search:  
 
 

AUTOGENERATE Stored procedures example

By Chris Morton,

Total article views: 316 | Views in the last 30 days: 21

run the script as it is on your server.

inspect the database tables and structure. notice a table called 'gautengdata' that does not have a primary key.

inspect the store procs.

run:

USE [splogexample]
GO

DECLARE @return_value int

EXEC @return_value = [dbo].[_SPLOG_SPConstructor]

SELECT 'Return Value' = @return_value

GO

with default parameters

refresh the stored procedures

inspect the stored procedures.

think about this:

a true programmer knows that the path of least effort (resistance) is usually the road to rapid application development and successful delivery.

all of this means lots of money...

have fun!

Chris

By Chris Morton,

Total article views: 316 | Views in the last 30 days: 21
Your response
 
 
Related tags
 
 
Contribute

Free registration required...

To read the rest of this article, and access thousands of other articles, we ask you to register on the site and subscribe to our newsletters.

Login (existing users)

Login

Email:   Password:   Remember me: Forgotten your password?

Register (new users)

Register

Email:   Password:
Confirm:

Subscribing to our newsletters gets you:

  • ALL of our content (thousands of articles, scripts, and forum postings)
  • A daily newsletter (example)
  • A weekly news round up (example)
  • The opportunity to ask and answer questions in our forums
  • A daily Question of the Day to test and help you increase your knowledge of SQL Server.

Steve Jones
Editor, SQLServerCentral.com