Viewing 15 posts - 2,641 through 2,655 (of 2,840 total)
I am glad it helped. The best is always try to keep away from Loops or Cursors. Set Based Operation is very powerful and flexible. If you have any condition...
-Roy
April 17, 2008 at 9:07 am
You can do it with a single Set based operation. You can Update using alias. It can be something like this.
Update a
Set a.dept = b.department,
a.Employee_Status = b.EmployeeStatus_AIT,
a.EMP_Division = b.SortField,
a.Employee_First_Name =...
-Roy
April 17, 2008 at 8:49 am
I would love to have my name on the internet so that prospective interviewers know that I am not just a BS guy. And that I know my stuff. But...
-Roy
April 17, 2008 at 6:49 am
Thanks Anirban:). I tried. I did miss couple of things like others have pointed out. I have to keep in mind to cover all bases when I write my next...
-Roy
April 9, 2008 at 6:08 am
Hi JJ, Thanks for the compliments. Maybe I could write it as a supplement of this article. I really did not think about it. Thanks for pointing it out.
-Roy
April 7, 2008 at 10:42 am
You can do it easily by making the DB mode to Simple, then shrink the DB and bring it bac to full mode. If you have Log shipping set up,...
-Roy
April 7, 2008 at 10:24 am
Are you sending emails using the Database itself or using an Application? If it is an application, You can do one single query that joins to the other table.
You...
-Roy
April 7, 2008 at 10:16 am
On the contrary it helps the Acid property. As long as you get the right Data, you are doing good. You are actually getting the last committed data. From the...
-Roy
April 7, 2008 at 8:34 am
Actually if the committed value was 0 and it is going to be updated to 10000000, then when you select the row, you will get 0.
You will get the...
-Roy
April 7, 2008 at 7:56 am
Darn... At least is there a work around without me having to write an app that will connect to DB and then open a file and write it?
-Roy
April 3, 2008 at 1:32 pm
If you are setting this as a Job, you can just use the Tool itself to say to write to a file. In the Job Step Properties, there is an...
-Roy
April 3, 2008 at 12:40 pm
Writing to a file. Thats all.
-Roy
April 3, 2008 at 12:29 pm
It is a stored Proc that is being called from a SQL Job.
-Roy
April 3, 2008 at 12:11 pm
Thanks a lot Alin. This is my second one. My third article is coming out on April 7th. It is about Row Level Version in SQL 2005
-Roy
March 31, 2008 at 7:37 am
Fixed it for now by doing an sp_recompile for the stored Proc. But it might still creeep up again. So any advice is appreciated.
-Roy
March 27, 2008 at 10:27 am
Viewing 15 posts - 2,641 through 2,655 (of 2,840 total)