Re: Error Handling Coming Out of a Trigger
- From: "Del Murray" <Del.Murray@xxxxxxxxxxxxxx>
- Date: Fri, 22 Jun 2007 17:07:05 -0500
Brian,
You can write an awful lot of code in a stored proc but guess what .... they
dont want to compile the program ??? stored procedures are compiled so
what's the difference ??? And with programs you get version control so you
can go back in case of a major whoops .. doing so on sql server is not
"simple" .. try restoring a stored proc .. I am pretty sure you have to put
the DB in single user mode first (never been able to get it to work
otherwise .. but then , I'm not a DBA) and that means everyone, the whole
hospital gets off the system.
SQL Server 2005 will let you write VB in the stored proc and it does a
pretty good job of optimizing it so you can do about anything you want. Of
course you will have to compile it .. dont tell the bosses, they will want
to do the whole system in Javascript in a browser , that wont have to be
compiled ... just interpreted .. you know, like back in the old original
Basic days ... LMAO ....
I'm not trying to sway you to do it like I do it, I just like pointing out
some of the dumb stuff "managers" come up with ...
not compiling the program .... jeez. How long does a Delphi compile take ...
3 secs, 5 maybe ???
You can do the join to the rules, derive a temptable, run back and forth
over the cursor etc in the stored proc once you get used to the syntax.
Good luck,'
Del
.
- References:
- Error Handling Coming Out of a Trigger
- From: Brian Hollister
- Re: Error Handling Coming Out of a Trigger
- From: Brian Bushay TeamB
- Re: Error Handling Coming Out of a Trigger
- From: Brian Hollister
- Re: Error Handling Coming Out of a Trigger
- From: Del Murray
- Re: Error Handling Coming Out of a Trigger
- From: Brian Hollister
- Re: Error Handling Coming Out of a Trigger
- From: Del Murray
- Re: Error Handling Coming Out of a Trigger
- From: Brian Hollister
- Error Handling Coming Out of a Trigger
- Prev by Date: Re: Error Handling Coming Out of a Trigger
- Next by Date: Re: access field size?
- Previous by thread: Re: Error Handling Coming Out of a Trigger
- Next by thread: Re: Error Handling Coming Out of a Trigger
- Index(es):
Relevant Pages
|