Re: Simple Best Practice Question

From: Marek (Marek_at_discussions.microsoft.com)
Date: 10/19/04


Date: Tue, 19 Oct 2004 06:57:03 -0700

Are there any code examples I can look at? I am unsure how to go about this.
 If I want a simple stored procedure to edit a record in a table that
contains 10 columns, but I only need to modify one column, do I use 10
different variables or is there such a thing as optional parameters??

"Uri Dimant" wrote:

> Marek
> In short the answer is Stored Procedures
>
>
> "Marek" <Marek@discussions.microsoft.com> wrote in message
> news:9A9AD8BF-4426-43D6-BD26-65B4FE03162B@microsoft.com...
> > Hi,
> >
> > I am looking for advice on best practice with SQL 2000. I have created a
> > fairly simple database - about 12 tables. I am unsure about the best way
> to
> > build the front end - it is going to be web based. Do I use asp.net code
> to
> > create, edit and delete records or do I use stored procedures?? I have
> > created 12 stored procedures for new records but an unsure on the best way
> to
> > handle edits and deletes.
> >
> > --
> > Many thanks in advance for any assistance
>
>
>



Relevant Pages

  • Simple Best Practice Question
    ... fairly simple database - about 12 tables. ... I am unsure about the best way to ... edit and delete records or do I use stored procedures?? ... created 12 stored procedures for new records but an unsure on the best way to ...
    (microsoft.public.sqlserver.programming)
  • Re: MSSQL vs. SYBASE
    ... > Adding RAISERROR is not an option, we would have to edit 1,000+ stored ... > procs. ... Then you would have to tame ADO. ... 1000 stored procedures in one database. ...
    (microsoft.public.sqlserver.programming)
  • Re: Edit Stored Procedures
    ... With the Pro edition, you can only edit MSDE stored proc. ... Conseiller Principal / Senior Consultant ... > Does anyone know about a certain setting to edit stored procedures through ...
    (microsoft.public.dotnet.general)
  • Re: Cannot edit stored procedures
    ... If there is an Edit ... It's better to edit the scripts anyway -- that way you have the SPs under ... > CHeck a couple of articles online for debugging stored procedures ... > name from the Server Browser and selected Edit. ...
    (microsoft.public.dotnet.languages.csharp)
  • Editting Stored Procedures in Query Analyzer Adding Alter Incorrectly
    ... I have created a series of stored procedures that happen to create ... Now when I try to edit the procedure in Query Anylyzer, ... Notice that the "ALTER" was incorrectly placed where the temp table is ...
    (microsoft.public.sqlserver.tools)