F
francois
Hi,
I am pretty new about stored procedures things. I always believe in the past
they were evil for the sake of DB independance. A few years back I worked in
a place where we all use ANSI sql to retrieve anything we need. Also
sometimes I needed to instantiate heaps of objects to finally reject half of
them that i did not need (which could cost quite some time in large tables)
Getting older (and wiser? ) I am not so sure about it anymore as a stored
procedure let you make some computing to retrieve only the data you want to
select. then you wont have to eliminate (skip) records manually in the
resultset (thing that you cannot do anyway if you use databiding.
Then i got 2 questions :
1. Was I stupid to believe that to keep DB independance I should not use
stored procedure? I think it may be quite easy to translate a stored
procedure from a DB to an other. I assume all professional DB provides the
same kind of functionality. I just assume this then I would like some
confirmation or infirmation
2. Also I am very newbie about stored procedure. Do anyone knows a good
resource to learn about it? a book, a website? I am interested in SQL Server
at a first. I found a few tutorials but they are either to simple ot then
too complex. nothing that would bring me from the level of newbie to
advanced as I think the real power of stored procedure only appears when you
start to know more about it and what kind of computing you can do in it.
Best regards,
Francois
I am pretty new about stored procedures things. I always believe in the past
they were evil for the sake of DB independance. A few years back I worked in
a place where we all use ANSI sql to retrieve anything we need. Also
sometimes I needed to instantiate heaps of objects to finally reject half of
them that i did not need (which could cost quite some time in large tables)
Getting older (and wiser? ) I am not so sure about it anymore as a stored
procedure let you make some computing to retrieve only the data you want to
select. then you wont have to eliminate (skip) records manually in the
resultset (thing that you cannot do anyway if you use databiding.
Then i got 2 questions :
1. Was I stupid to believe that to keep DB independance I should not use
stored procedure? I think it may be quite easy to translate a stored
procedure from a DB to an other. I assume all professional DB provides the
same kind of functionality. I just assume this then I would like some
confirmation or infirmation
2. Also I am very newbie about stored procedure. Do anyone knows a good
resource to learn about it? a book, a website? I am interested in SQL Server
at a first. I found a few tutorials but they are either to simple ot then
too complex. nothing that would bring me from the level of newbie to
advanced as I think the real power of stored procedure only appears when you
start to know more about it and what kind of computing you can do in it.
Best regards,
Francois