Click here to Skip to main content
15,890,512 members
Home / Discussions / Database
   

Database

 
GeneralRe: How to write the multiple query in single store procedure? Pin
Ashfield21-Apr-08 19:52
Ashfield21-Apr-08 19:52 
GeneralGet all tables in sql server instance Pin
hdv21221-Apr-08 0:12
hdv21221-Apr-08 0:12 
GeneralRe: Get all tables in sql server instance Pin
Blue_Boy21-Apr-08 0:33
Blue_Boy21-Apr-08 0:33 
GeneralSSIS issue dynamic table structure Pin
Mycroft Holmes20-Apr-08 21:29
professionalMycroft Holmes20-Apr-08 21:29 
QuestionHow to design Table Pin
jason_mf20-Apr-08 19:34
jason_mf20-Apr-08 19:34 
Questionsqsh clear screen? Pin
devvvy20-Apr-08 17:57
devvvy20-Apr-08 17:57 
QuestionT-SQl (VS) VB Languages Pin
Feras Mazen Taleb19-Apr-08 19:22
Feras Mazen Taleb19-Apr-08 19:22 
GeneralRe: T-SQl (VS) VB Languages Pin
SimulationofSai20-Apr-08 5:28
SimulationofSai20-Apr-08 5:28 
I've seen the best of both worlds. Stored procedures so complex, thousands of lines long and splattered with dynamic sql's and temp tables and numerous loops. And also BLL's having thousands of procedures. In the end, I guess the call is yours, if you're the sole developer. If you're in a team, you might want to leverage your team's skillset.

Developing Business Logic in T-SQL is not for the faint hearted, and is usually lengthier and more complex than a similar implementation in .NET. And T-SQL is pretty limited when it comes to inbuilt functions and constructs. Nowhere near to the .NET libraries, that's for sure. A traditionalist would put his BLL's in the application and use the backend just for DML's.

In the end, it's your call. If your Business Logic is very complex, stick to .NET, else if it's just a few checks and conditions, T-SQL would do just fine.

Alternately if your database server is much more powerful than your web server, you also have the option of using CLR Stored Procedures.

SG
Cause is effect concealed. Effect is cause revealed.

GeneralRe: T-SQl (VS) VB Languages Pin
Christian Graus20-Apr-08 12:33
protectorChristian Graus20-Apr-08 12:33 
GeneralSQL: BETWEEN Condition by Date Pin
kimo code19-Apr-08 4:53
kimo code19-Apr-08 4:53 
GeneralRe: SQL: BETWEEN Condition by Date Pin
Blue_Boy19-Apr-08 5:09
Blue_Boy19-Apr-08 5:09 
GeneralRe: SQL: BETWEEN Condition by Date Pin
kimo code19-Apr-08 21:25
kimo code19-Apr-08 21:25 
GeneralRe: SQL: BETWEEN Condition by Date [modified] Pin
Blue_Boy19-Apr-08 22:01
Blue_Boy19-Apr-08 22:01 
GeneralRe: SQL: BETWEEN Condition by Date Pin
kimo code20-Apr-08 1:02
kimo code20-Apr-08 1:02 
GeneralRe: SQL: BETWEEN Condition by Date [modified] Pin
Blue_Boy20-Apr-08 1:29
Blue_Boy20-Apr-08 1:29 
GeneralRe: SQL: BETWEEN Condition by Date Pin
kimo code20-Apr-08 1:53
kimo code20-Apr-08 1:53 
GeneralRe: SQL: BETWEEN Condition by Date Pin
Blue_Boy20-Apr-08 2:03
Blue_Boy20-Apr-08 2:03 
GeneralRe: SQL: BETWEEN Condition by Date Pin
kimo code20-Apr-08 2:08
kimo code20-Apr-08 2:08 
GeneralRe: SQL: BETWEEN Condition by Date Pin
Blue_Boy20-Apr-08 3:25
Blue_Boy20-Apr-08 3:25 
GeneralRe: SQL: BETWEEN Condition by Date Pin
kimo code20-Apr-08 4:59
kimo code20-Apr-08 4:59 
GeneralRe: SQL: BETWEEN Condition by Date Pin
Blue_Boy20-Apr-08 8:07
Blue_Boy20-Apr-08 8:07 
GeneralRe: SQL: BETWEEN Condition by Date Pin
GuyThiebaut20-Apr-08 14:10
professionalGuyThiebaut20-Apr-08 14:10 
QuestionMS SQL Server 2005: Close cursors on commit Pin
Mat Graf18-Apr-08 2:49
Mat Graf18-Apr-08 2:49 
GeneralRe: MS SQL Server 2005: Close cursors on commit Pin
Alsvha18-Apr-08 20:44
Alsvha18-Apr-08 20:44 
GeneralReferential Integrity Pin
Adeel Chaudhry18-Apr-08 0:50
Adeel Chaudhry18-Apr-08 0:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.