Click here to Skip to main content
15,891,951 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL - Insert Record Error Trapping Pin
Michael Potter8-Apr-08 4:47
Michael Potter8-Apr-08 4:47 
QuestionIs there a query that can change all datasources for all dataviews? Pin
Daniel_Logan7-Apr-08 23:01
Daniel_Logan7-Apr-08 23:01 
AnswerRe: Is there a query that can change all datasources for all dataviews? Pin
Paddy Boyd8-Apr-08 0:48
Paddy Boyd8-Apr-08 0:48 
GeneralRe: Is there a query that can change all datasources for all dataviews? Pin
Daniel_Logan8-Apr-08 2:40
Daniel_Logan8-Apr-08 2:40 
GeneralRe: Is there a query that can change all datasources for all dataviews? Pin
Pete O'Hanlon8-Apr-08 2:58
mvePete O'Hanlon8-Apr-08 2:58 
GeneralRe: Is there a query that can change all datasources for all dataviews? Pin
Daniel_Logan8-Apr-08 21:16
Daniel_Logan8-Apr-08 21:16 
Generalsplit function with select statement Pin
gottimukkala7-Apr-08 5:02
gottimukkala7-Apr-08 5:02 
GeneralRe: split function with select statement Pin
Mark J. Miller7-Apr-08 5:44
Mark J. Miller7-Apr-08 5:44 
SELECT *
FROM Books B
WHERE SUBSTRING(B.Title, 1, 1) IN (
SELECT Letter FROM dbo.SplitFunction(@commaList)
)

IMHO, cursors are evil. They are sometimes necessary, like when you have to call a procedure for each row in a query or some other operation which can't be expressed in a subquery or join. But overall you should unless this is your situation you should look for an alternative. And this situation is required less now with the advent of the CROSS APPLY clause. SQL is best when it is batch processing. Anytime you are doing something in a loop you are asking for performance problems somewhere.


GeneralRe: split function with select statement Pin
Syed Mehroz Alam7-Apr-08 20:28
Syed Mehroz Alam7-Apr-08 20:28 
GeneralRe: split function with select statement Pin
Mark J. Miller8-Apr-08 2:45
Mark J. Miller8-Apr-08 2:45 
GeneralRe: split function with select statement Pin
Syed Mehroz Alam8-Apr-08 19:18
Syed Mehroz Alam8-Apr-08 19:18 
GeneralRe: split function with select statement Pin
Syed Mehroz Alam8-Apr-08 19:35
Syed Mehroz Alam8-Apr-08 19:35 
GeneralSSIS PACKAGES Pin
kibromg7-Apr-08 4:07
kibromg7-Apr-08 4:07 
GeneralRe: SSIS PACKAGES Pin
Mark J. Miller7-Apr-08 5:35
Mark J. Miller7-Apr-08 5:35 
GeneralRe: SSIS PACKAGES Pin
kibromg7-Apr-08 6:21
kibromg7-Apr-08 6:21 
GeneralRe: SSIS PACKAGES Pin
Mark J. Miller7-Apr-08 6:33
Mark J. Miller7-Apr-08 6:33 
GeneralRe: SSIS PACKAGES Pin
kibromg8-Apr-08 0:15
kibromg8-Apr-08 0:15 
GeneralView Pin
.NET- India 7-Apr-08 3:36
.NET- India 7-Apr-08 3:36 
GeneralRe: View Pin
John_Adams7-Apr-08 4:26
John_Adams7-Apr-08 4:26 
QuestionHow to add not null column in SQL Server 2005? Pin
salon6-Apr-08 22:35
salon6-Apr-08 22:35 
AnswerRe: How to add not null column in SQL Server 2005? Pin
Ashfield7-Apr-08 1:46
Ashfield7-Apr-08 1:46 
AnswerRe: How to add not null column in SQL Server 2005? Pin
Mark J. Miller7-Apr-08 5:29
Mark J. Miller7-Apr-08 5:29 
Generallink database to adialog based application Pin
lahom6-Apr-08 12:33
lahom6-Apr-08 12:33 
Generalwhere add related tables automatically on diagram sql server 2005 Pin
Rami Said Abd Alhalim5-Apr-08 23:42
Rami Said Abd Alhalim5-Apr-08 23:42 
GeneralRe: where add related tables automatically on diagram sql server 2005 Pin
Blue_Boy6-Apr-08 20:17
Blue_Boy6-Apr-08 20:17 

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.