Click here to Skip to main content
15,898,134 members
Home / Discussions / Database
   

Database

 
AnswerRe: Referencing the PK of a table in another database Pin
Eric Dahlvang22-Sep-06 8:32
Eric Dahlvang22-Sep-06 8:32 
QuestionC# and SQL General Strategy Question Pin
Jethro6322-Sep-06 2:41
Jethro6322-Sep-06 2:41 
AnswerRe: C# and SQL General Strategy Question Pin
Not Active22-Sep-06 2:53
mentorNot Active22-Sep-06 2:53 
GeneralRe: C# and SQL General Strategy Question Pin
Jethro6322-Sep-06 3:52
Jethro6322-Sep-06 3:52 
GeneralRe: C# and SQL General Strategy Question Pin
Not Active22-Sep-06 4:03
mentorNot Active22-Sep-06 4:03 
GeneralRe: C# and SQL General Strategy Question Pin
Jethro6322-Sep-06 4:05
Jethro6322-Sep-06 4:05 
GeneralRe: C# and SQL General Strategy Question Pin
Jerry Hammond22-Sep-06 14:56
Jerry Hammond22-Sep-06 14:56 
AnswerRe: C# and SQL General Strategy Question Pin
Mike Dimmick23-Sep-06 0:29
Mike Dimmick23-Sep-06 0:29 
You almost always want SQL Server to do the work. If you index the table appropriately and supply a suitable query, SQL Server can find a given row by touching only a small number of pages making up the index (loading them from the disk), and one page of the main table, if the columns you're requesting aren't part of the index. It only returns one row across the wire, which will reduce the time spent getting the network to transfer the row.

If you make SQL Server give you all the rows, it will touch - and briefly lock - all the rows in the table, requiring all pages of the table to be read from the disk (slow), and the network time will be much higher. It'll take much longer to get your data. Then, you'll be using more memory on the client side to store the results while you search for the row you're after.

Stability. What an interesting concept. -- Chris Maunder

GeneralRe: C# and SQL General Strategy Question Pin
Jethro6324-Sep-06 15:55
Jethro6324-Sep-06 15:55 
QuestionMultiple select Pin
netDeveloper22-Sep-06 1:21
netDeveloper22-Sep-06 1:21 
AnswerRe: Multiple select Pin
Kschuler22-Sep-06 9:08
Kschuler22-Sep-06 9:08 
AnswerRe: Multiple select Pin
Eric Dahlvang22-Sep-06 9:37
Eric Dahlvang22-Sep-06 9:37 
AnswerRe: Multiple select Pin
Mike Dimmick23-Sep-06 0:55
Mike Dimmick23-Sep-06 0:55 
AnswerRe: Multiple select Pin
netDeveloper23-Sep-06 6:15
netDeveloper23-Sep-06 6:15 
QuestionHello ! Pin
Bravoone_200621-Sep-06 22:39
Bravoone_200621-Sep-06 22:39 
QuestionSQL Server Replication Pin
oskardiazdeleon21-Sep-06 21:28
oskardiazdeleon21-Sep-06 21:28 
AnswerRe: SQL Server Replication Pin
Hesham Amin24-Sep-06 3:18
Hesham Amin24-Sep-06 3:18 
QuestionSql,/Access/Oracle to Excel Pin
vicky0000021-Sep-06 20:59
vicky0000021-Sep-06 20:59 
Questiondeploying a .net winforms that has to connect to remote sql server Pin
steve_rm21-Sep-06 19:46
steve_rm21-Sep-06 19:46 
AnswerRe: deploying a .net winforms that has to connect to remote sql server Pin
Jim Conigliaro22-Sep-06 10:55
Jim Conigliaro22-Sep-06 10:55 
QuestionSQL server nested tables or what? Pin
iskaza21-Sep-06 13:14
iskaza21-Sep-06 13:14 
AnswerRe: SQL server nested tables or what? Pin
Rob Graham21-Sep-06 14:04
Rob Graham21-Sep-06 14:04 
GeneralRe: SQL server nested tables or what? Pin
iskaza21-Sep-06 14:22
iskaza21-Sep-06 14:22 
GeneralRe: SQL server nested tables or what? [modified] Pin
Rob Graham21-Sep-06 14:43
Rob Graham21-Sep-06 14:43 
QuestionOne more question Pin
iskaza21-Sep-06 15:12
iskaza21-Sep-06 15:12 

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.