Click here to Skip to main content
15,920,956 members
Home / Discussions / Database
   

Database

 
Questionnulls in a DataTable Pin
hamidreza_buddy11-Sep-06 23:44
hamidreza_buddy11-Sep-06 23:44 
AnswerRe: nulls in a DataTable Pin
_AK_11-Sep-06 23:56
_AK_11-Sep-06 23:56 
AnswerRe: nulls in a DataTable Pin
albCode13-Sep-06 4:15
albCode13-Sep-06 4:15 
QuestionCode Error! Pin
Shahzad.Aslam11-Sep-06 23:18
Shahzad.Aslam11-Sep-06 23:18 
AnswerRe: Code Error! Pin
_AK_12-Sep-06 0:23
_AK_12-Sep-06 0:23 
QuestionAbout cursor in sqlserver 2000 Pin
yazan_zahi11-Sep-06 22:57
yazan_zahi11-Sep-06 22:57 
AnswerRe: About cursor in sqlserver 2000 Pin
Marek Grzenkowicz12-Sep-06 0:14
Marek Grzenkowicz12-Sep-06 0:14 
GeneralRe: About cursor in sqlserver 2000 Pin
Amit Kumar G12-Sep-06 16:23
Amit Kumar G12-Sep-06 16:23 
Cursors are having its own pros and cons.

+Ve : Row wise operation which helps us to avoid lot of complex queries
-Ve : VERY IMPORTANT, needs huge memory of SQL Server. So be careful while using cursor. It is always good if you avoid cursors as much. We have a product which has around 7500 stored procedure and we have written without any cursors Smile | :) )

There are number of ways to avoid cursor....

1) Use While Loop
2) Use Update with FROM Clause
3) Use Joins, use subqueries..
4) Store data is views etc...
5) Last and least do good database desiging.....






Amit
GeneralRe: Can I use Dynamic SQL in While Loop Pin
gopisant15-Apr-09 20:11
gopisant15-Apr-09 20:11 
Questionfetch data from table Pin
senthilmca11-Sep-06 19:21
senthilmca11-Sep-06 19:21 
AnswerRe: fetch data from table Pin
_AK_11-Sep-06 19:26
_AK_11-Sep-06 19:26 
AnswerRe: fetch data from table Pin
Amit Kumar G12-Sep-06 16:24
Amit Kumar G12-Sep-06 16:24 
QuestionProblem with SQL 2005 Express: View Sorting Order Pin
nguyenvhn11-Sep-06 18:38
nguyenvhn11-Sep-06 18:38 
AnswerRe: Problem with SQL 2005 Express: View Sorting Order Pin
Farhan Noor Qureshi11-Sep-06 18:57
Farhan Noor Qureshi11-Sep-06 18:57 
AnswerRe: Problem with SQL 2005 Express: View Sorting Order Pin
Eric Dahlvang12-Sep-06 3:25
Eric Dahlvang12-Sep-06 3:25 
QuestionSQL SERVER Pin
lakshmi_sri11-Sep-06 18:08
lakshmi_sri11-Sep-06 18:08 
AnswerRe: SQL SERVER Pin
Farhan Noor Qureshi11-Sep-06 18:57
Farhan Noor Qureshi11-Sep-06 18:57 
AnswerRe: SQL SERVER Pin
Colin Angus Mackay11-Sep-06 22:44
Colin Angus Mackay11-Sep-06 22:44 
QuestionHow to define a null-ignoring unique constraint Pin
supercali11-Sep-06 15:41
supercali11-Sep-06 15:41 
AnswerRe: How to define a null-ignoring unique constraint Pin
Farhan Noor Qureshi11-Sep-06 18:59
Farhan Noor Qureshi11-Sep-06 18:59 
GeneralRe: How to define a null-ignoring unique constraint Pin
supercali12-Sep-06 4:16
supercali12-Sep-06 4:16 
QuestionFinding recurring dates. Pin
T-Smooth11-Sep-06 3:06
T-Smooth11-Sep-06 3:06 
AnswerRe: Finding recurring dates. Pin
Eric Dahlvang11-Sep-06 3:50
Eric Dahlvang11-Sep-06 3:50 
GeneralRe: Finding recurring dates. Pin
T-Smooth11-Sep-06 5:48
T-Smooth11-Sep-06 5:48 
AnswerRe: Finding recurring dates. Pin
Eric Dahlvang11-Sep-06 6:42
Eric Dahlvang11-Sep-06 6:42 

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.