If you still have the 'pubs' database on your install...
CREATE PROCEDURE byroyalty @percentage int
AS
select au_id from titleauthor
where titleauthor.royaltyper = @percentage
GO
...this stored proc is still there.
Execute the stored proc...
EXEC byroyalty @percentage = 100
hoggle, Make sure that you have all your sysdatabases in your maintenance plan. When you are sure you have a good database and transaction log backup, you can run...
BACKUP LOG tempdb WITH TRUNCATE_ONLY
in Query Analyzer.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.