Viewing 15 posts - 31 through 45 (of 53 total)
Is is possible to rewrite this cursor to CTE to gain some performance benefit:
BEGIN
DECLARE yr_cursor CURSOR
FOR
...
August 7, 2012 at 9:38 am
Thanks for trying at least Lowell
August 2, 2012 at 10:30 am
Attached the proc for your review; please let me know how I can replace the cursors to set based operations.
Thnks
August 2, 2012 at 10:11 am
I am also attaching the index fragmentation percentage on the db
August 2, 2012 at 9:44 am
Ooops sorry, forgot to attach the file....
August 2, 2012 at 9:36 am
Even after I did reorganized index and updated statistics on the table that is heavily used by the view , I don't see any performance improvement. I am attaching my...
August 2, 2012 at 9:35 am
Thanks a bunch!
Also, can you please point me to a good link about tuning a query or Stored Procs
Regards
Aj
July 26, 2012 at 8:21 am
Hello
can you please look the execution plan and let me know if you see anything I can do to improve the query performance; I would appreciate it so much
I am...
July 25, 2012 at 10:42 am
Yes, I need to ; because I am modifying the existing procedure where it written in dynamic sql
July 24, 2012 at 8:30 am
Sorry, I meant to say I need to know how can prevent from sql injection
July 24, 2012 at 8:21 am
Yes, you are right; basically, I am getting the @year as varchar(4) parameter and I need to add that in the dynamic sql where clause with other condition. Can...
July 24, 2012 at 8:15 am
Thanks
Also, how can I create an index on a computed column such as " incident_year"
Thanks
July 24, 2012 at 3:18 am
Right function is not getting the data; in the table it is datetime but I converted to varchar(10) in the view like this...
CONVERT(VARCHAR(10),I.DateOfIncidentDte, 110 ) as incident_date
Thanks
July 24, 2012 at 3:11 am
Thanks so much, but when I am running the query Datepart function is not getting the year from the column which should be 2011
July 24, 2012 at 12:23 am
Viewing 15 posts - 31 through 45 (of 53 total)