Viewing 15 posts - 1 through 15 (of 70 total)
Lynn Pettis (5/9/2012)
If so,...
May 9, 2012 at 2:44 pm
SQLKnowItAll (5/9/2012)
Putts (5/9/2012)
SQLKnowItAll (5/9/2012)
May 9, 2012 at 2:27 pm
DiverKas (5/9/2012)
Woah. Why can't you rely on a SP returning all necessary columns? Thats how you write it. Its simple CRUD. For example, typical...
May 9, 2012 at 2:04 pm
SQLKnowItAll (5/9/2012)
But, you are not going for optimization with your view. You are using it to simplify your coding process. So the above article is a moot point to...
May 9, 2012 at 2:02 pm
SQLKnowItAll (5/9/2012)
You can use 1 SP built to handle all 3 of those scenarios and then no views, no functions, and you only change 1 SP. 1 SP per class.
......
May 9, 2012 at 1:59 pm
DiverKas (5/9/2012)
The issue I see, is your trying to create this abstract layer IN the SQL Server, instead of in your data access layer. I understand your goal, but...
May 9, 2012 at 1:51 pm
SQLKnowItAll (5/9/2012)
We want to create a virtualization within our database to reflect the makeup of a class in code ... what is better for this? A View or a...
May 9, 2012 at 1:45 pm
SQLKnowItAll (5/9/2012)
May 9, 2012 at 1:41 pm
Allow me to rephrase my question to get off the particulars.
We want to create a virtualization within our database to reflect the makeup of a class in code ... what...
May 9, 2012 at 1:35 pm
Lynn Pettis (5/9/2012)
Table --> View (or iTVF) --> stored procedure --> App
When you can do this:
Table --> stored procedure --> App
You haven't justified the need for the...
May 9, 2012 at 1:25 pm
SQLKnowItAll (5/9/2012)
May 9, 2012 at 1:21 pm
Lynn Pettis (5/9/2012)
Putts (5/9/2012)
GilaMonster (5/9/2012)
Putts (5/9/2012)
Any change to the table then forces you to refresh all your SPs.
Not at all. The only time that a procedure will need...
May 9, 2012 at 1:18 pm
You are just making statements now with no backing.
What is the point of a table-valued UDF if not to return a resultset? Is that not the same purpose...
May 9, 2012 at 1:16 pm
GilaMonster (5/9/2012)
Putts (5/9/2012)
Any change to the table then forces you to refresh all your SPs.
Not at all. The only time that a procedure will need refreshing if the...
May 9, 2012 at 1:07 pm
SQLKnowItAll (5/9/2012)
No matter if you reference all the fields explicitly from ViewX in your SP or just simply do a SELECT * FROM ViewX, you will be forced to refresh...
May 9, 2012 at 12:27 pm
Viewing 15 posts - 1 through 15 (of 70 total)