Click here to Skip to main content
15,908,909 members
Home / Discussions / Database
   

Database

 
AnswerRe: Select Multi Row, to be Singel Row Pin
Mycroft Holmes26-Sep-11 21:28
professionalMycroft Holmes26-Sep-11 21:28 
QuestionRe: Select Multi Row, to be Singel Row Pin
Naunt26-Sep-11 21:45
Naunt26-Sep-11 21:45 
AnswerRe: Select Multi Row, to be Singel Row Pin
Jörgen Andersson27-Sep-11 11:54
professionalJörgen Andersson27-Sep-11 11:54 
GeneralRe: Select Multi Row, to be Singel Row Pin
Naunt27-Sep-11 16:16
Naunt27-Sep-11 16:16 
AnswerRe: Select Multi Row, to be Singel Row Pin
Ganu Sharma5-Oct-11 2:05
Ganu Sharma5-Oct-11 2:05 
GeneralRe: Select Multi Row, to be Singel Row Pin
Naunt5-Oct-11 14:56
Naunt5-Oct-11 14:56 
QuestionData warehous Pin
apadana_198926-Sep-11 9:31
apadana_198926-Sep-11 9:31 
AnswerRe: Data warehous Pin
Mycroft Holmes26-Sep-11 13:09
professionalMycroft Holmes26-Sep-11 13:09 
QuestionDatabase Size Pin
megasoft house25-Sep-11 19:43
megasoft house25-Sep-11 19:43 
AnswerRe: Database Size Pin
loyal ginger26-Sep-11 2:43
loyal ginger26-Sep-11 2:43 
AnswerRe: Database Size Pin
Eddy Vluggen26-Sep-11 12:17
professionalEddy Vluggen26-Sep-11 12:17 
QuestionSQL Servier 2008 Pin
megasoft house25-Sep-11 19:33
megasoft house25-Sep-11 19:33 
AnswerRe: SQL Servier 2008 Pin
Luc Pattyn25-Sep-11 21:49
sitebuilderLuc Pattyn25-Sep-11 21:49 
QuestionDo we need to promote SP's anymore? Pin
Mehdi Gholam24-Sep-11 22:29
Mehdi Gholam24-Sep-11 22:29 
AnswerRe: Do we need to promote SP's anymore? PinPopular
Mycroft Holmes24-Sep-11 23:39
professionalMycroft Holmes24-Sep-11 23:39 
GeneralRe: Do we need to promote SP's anymore? Pin
Mehdi Gholam25-Sep-11 0:17
Mehdi Gholam25-Sep-11 0:17 
GeneralRe: Do we need to promote SP's anymore? Pin
Mycroft Holmes25-Sep-11 2:12
professionalMycroft Holmes25-Sep-11 2:12 
GeneralRe: Do we need to promote SP's anymore? Pin
Mehdi Gholam25-Sep-11 9:10
Mehdi Gholam25-Sep-11 9:10 
GeneralRe: Do we need to promote SP's anymore? Pin
Mycroft Holmes25-Sep-11 12:44
professionalMycroft Holmes25-Sep-11 12:44 
GeneralRe: Do we need to promote SP's anymore? Pin
PIEBALDconsult25-Sep-11 6:01
mvePIEBALDconsult25-Sep-11 6:01 
GeneralRe: Do we need to promote SP's anymore? Pin
PIEBALDconsult25-Sep-11 5:57
mvePIEBALDconsult25-Sep-11 5:57 
GeneralRe: Do we need to promote SP's anymore? Pin
Mycroft Holmes25-Sep-11 12:43
professionalMycroft Holmes25-Sep-11 12:43 
PIEBALDconsult wrote:
I not allow direct string access to the database

Read Table/Views instead of database - my error.
PIEBALDconsult wrote:
either way, I try them out in SSMS.


Ok so you write the TSQL in SSMS and run it in the BL and yet you don't want to put the tested code into a proc but move it into the BL.

I actually agree with you when it come to the CRUD procs (I use a code generator and have not written an insert procedure for many years), even some simple queries could have a life in either format. A complex query with multiple joins, using temp or var tables and with interim results just will not go into code, it belongs in a proc.

As to the 100 lines crap you put up Dead | X| bleh I write rather tight code and 100 lines on a complex query is not unusual, just before it is turned into a proc I run Red-Gates formatter over the code, it blows it out as above but makes it eminently more readable (and therefore supportable).
Never underestimate the power of human stupidity
RAH

AnswerRe: Do we need to promote SP's anymore? Pin
PIEBALDconsult25-Sep-11 5:31
mvePIEBALDconsult25-Sep-11 5:31 
AnswerRe: Do we need to promote SP's anymore? Pin
Jörgen Andersson25-Sep-11 10:12
professionalJörgen Andersson25-Sep-11 10:12 
GeneralRe: Do we need to promote SP's anymore? Pin
_Maxxx_29-Sep-11 0:29
professional_Maxxx_29-Sep-11 0:29 

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.