Click here to Skip to main content
15,887,450 members
Home / Discussions / Database
   

Database

 
AnswerSQL 2005 is the way to go Pin
David Mujica23-Oct-08 4:47
David Mujica23-Oct-08 4:47 
AnswerRe: 2 Databases 2 locations one website??? Pin
Wendelius23-Oct-08 8:22
mentorWendelius23-Oct-08 8:22 
GeneralRe: 2 Databases 2 locations one website??? Pin
nelsonpaixao23-Oct-08 15:42
nelsonpaixao23-Oct-08 15:42 
QuestionExperience with CLR Stored Procedures in MS SQL Server 2005 Pin
James R. Twine23-Oct-08 2:34
James R. Twine23-Oct-08 2:34 
QuestionRe: Experience with CLR Stored Procedures in MS SQL Server 2005 Pin
led mike23-Oct-08 4:39
led mike23-Oct-08 4:39 
AnswerRe: Experience with CLR Stored Procedures in MS SQL Server 2005 Pin
James R. Twine23-Oct-08 7:40
James R. Twine23-Oct-08 7:40 
AnswerRe: Experience with CLR Stored Procedures in MS SQL Server 2005 Pin
i.j.russell24-Oct-08 13:54
i.j.russell24-Oct-08 13:54 
AnswerRe: Experience with CLR Stored Procedures in MS SQL Server 2005 Pin
Wendelius23-Oct-08 9:35
mentorWendelius23-Oct-08 9:35 
I've used CLR integration for several cases and I have to say that I have totally discarded using plain C so my answer may be a bit biased Smile | :) .

I like to use normal T-SQL procedures and plain SQL especially when transactional processing is needed and/or when working with result sets. T-SQL performs better in these areas. What I typically do, is that I only 'extend' T-SQL with C# based functionality, not replacing it. Some of the usages have been:
- complex mathematical functions not implemented in T-SQL. Using these for columns in result sets
- integration to the database server or even to the client calling the db
- file handling capability for stored procs (and also logging)
- extended string handling (T-SQL is actually very lousy in this) etc.

The negative aspects I see are:
- integration to the actual connection calling CLR based functionality. It's working, but for some reason not very intuitive (at least not for me)
- installation is a bit difficult if it's meant to be done by client. Creating a full silent install script for the whole database server requires more work than I originally expected
- cannot use fibers so in some installations it may cause performance problems on other areas of database usage

Mika

The need to optimize rises from a bad design.

My articles[^]

QuestionDo a simple Query for me Pin
Saam_cse23-Oct-08 1:28
Saam_cse23-Oct-08 1:28 
AnswerRe: Do a simple Query for me Pin
Ashfield23-Oct-08 1:42
Ashfield23-Oct-08 1:42 
RantRe: Do a simple Query for me Pin
Eddy Vluggen23-Oct-08 2:14
professionalEddy Vluggen23-Oct-08 2:14 
JokeRe: Do a simple Query for me Pin
Ashfield23-Oct-08 2:28
Ashfield23-Oct-08 2:28 
GeneralRe: Do a simple Query for me Pin
Eddy Vluggen23-Oct-08 2:41
professionalEddy Vluggen23-Oct-08 2:41 
AnswerRe: Do a simple Query for me Pin
John Gathogo23-Oct-08 1:43
John Gathogo23-Oct-08 1:43 
AnswerRe: Do a simple Query for me Pin
shubhi23-Oct-08 1:56
shubhi23-Oct-08 1:56 
JokeRe: Do a simple Query for me Pin
nelsonpaixao23-Oct-08 15:51
nelsonpaixao23-Oct-08 15:51 
Questionunbound RadioButtonList Selected Item problem Pin
amit201123-Oct-08 1:16
amit201123-Oct-08 1:16 
AnswerRe: unbound RadioButtonList Selected Item problem Pin
Ashfield23-Oct-08 1:29
Ashfield23-Oct-08 1:29 
AnswerRe: unbound RadioButtonList Selected Item problem Pin
John Gathogo23-Oct-08 1:37
John Gathogo23-Oct-08 1:37 
GeneralRe: unbound RadioButtonList Selected Item problem Pin
amit201123-Oct-08 1:52
amit201123-Oct-08 1:52 
GeneralRe: unbound RadioButtonList Selected Item problem Pin
Paddy Boyd23-Oct-08 2:07
Paddy Boyd23-Oct-08 2:07 
GeneralRe: unbound RadioButtonList Selected Item problem Pin
amit201123-Oct-08 3:30
amit201123-Oct-08 3:30 
GeneralRe: unbound RadioButtonList Selected Item problem Pin
amit201123-Oct-08 3:48
amit201123-Oct-08 3:48 
GeneralRe: unbound RadioButtonList Selected Item problem Pin
John Gathogo23-Oct-08 2:20
John Gathogo23-Oct-08 2:20 
Questionhow to read returned identity value from stored procedure Pin
Poonam Gandash23-Oct-08 0:08
Poonam Gandash23-Oct-08 0:08 

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.