Click here to Skip to main content
15,905,915 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL Server Access Pin
Wendelius19-Feb-09 8:13
mentorWendelius19-Feb-09 8:13 
GeneralRe: SQL Server Access Pin
Diving Flo24-Feb-09 20:21
Diving Flo24-Feb-09 20:21 
GeneralRe: SQL Server Access Pin
Wendelius25-Feb-09 7:15
mentorWendelius25-Feb-09 7:15 
QuestionBreak point in sqlserver Pin
venu65617-Feb-09 21:53
venu65617-Feb-09 21:53 
AnswerRe: Break point in sqlserver Pin
Wendelius17-Feb-09 23:23
mentorWendelius17-Feb-09 23:23 
QuestionImprove the speed of Function Pin
member2717-Feb-09 15:05
member2717-Feb-09 15:05 
AnswerRe: Improve the speed of Function Pin
PIEBALDconsult17-Feb-09 16:05
mvePIEBALDconsult17-Feb-09 16:05 
AnswerRe: Improve the speed of Function Pin
Mycroft Holmes17-Feb-09 16:05
professionalMycroft Holmes17-Feb-09 16:05 
It is unikely that the use of the function will affect the speed, it is more likely to be the number of times you call it. Quite often you can change the performance by totally restructuring your query. Break it down to part and do the part that reduces your data volume the most first.

Try using the execution plan to identify table scans that do not use indexes.
I have found the using table vars to hold large volumes is a disaster - I have gone back to #temp tables for anything over 2k rows. I also have no compunction about throwing an index onto a temp table.
If you have 2005 then you may want to look at rownumber and partitioning in a query to get the count by invoices.

Your question does not have 1 answer, this is where science turns into art, good luck!


Never underestimate the power of human stupidity
RAH

GeneralRe: Improve the speed of Function Pin
member2718-Feb-09 3:41
member2718-Feb-09 3:41 
AnswerRe: Improve the speed of Function Pin
Wendelius17-Feb-09 17:57
mentorWendelius17-Feb-09 17:57 
Questionquery to get results from 4 tables Pin
icanmakeiteasy17-Feb-09 0:29
icanmakeiteasy17-Feb-09 0:29 
AnswerRe: query to get results from 4 tables Pin
Wendelius17-Feb-09 1:37
mentorWendelius17-Feb-09 1:37 
GeneralRe: query to get results from 4 tables [modified] Pin
icanmakeiteasy17-Feb-09 1:54
icanmakeiteasy17-Feb-09 1:54 
GeneralRe: query to get results from 4 tables Pin
Wendelius17-Feb-09 2:36
mentorWendelius17-Feb-09 2:36 
GeneralRe: query to get results from 4 tables Pin
icanmakeiteasy17-Feb-09 19:02
icanmakeiteasy17-Feb-09 19:02 
AnswerRe: query to get results from 4 tables Pin
venu65617-Feb-09 1:45
venu65617-Feb-09 1:45 
GeneralRe: query to get results from 4 tables Pin
icanmakeiteasy17-Feb-09 1:57
icanmakeiteasy17-Feb-09 1:57 
AnswerRe: query to get results from 4 tables Pin
icanmakeiteasy17-Feb-09 22:45
icanmakeiteasy17-Feb-09 22:45 
QuestionCASE when false query [modified] Pin
foryou16-Feb-09 23:40
foryou16-Feb-09 23:40 
AnswerRe: CASE when false query Pin
foryou17-Feb-09 1:02
foryou17-Feb-09 1:02 
GeneralRe: CASE when false query Pin
Wendelius17-Feb-09 7:57
mentorWendelius17-Feb-09 7:57 
GeneralRe: CASE when false query Pin
foryou17-Feb-09 22:47
foryou17-Feb-09 22:47 
GeneralRe: CASE when false query Pin
Wendelius18-Feb-09 7:37
mentorWendelius18-Feb-09 7:37 
GeneralRe: CASE when false query Pin
foryou19-Feb-09 1:55
foryou19-Feb-09 1:55 
GeneralRe: CASE when false query Pin
Wendelius19-Feb-09 5:53
mentorWendelius19-Feb-09 5:53 

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.