Viewing 15 posts - 12,121 through 12,135 (of 18,923 total)
Those are just statistics that the server is using for the queries (or used only once). The index tuning wizard could point out some new indexes to use. ...
May 1, 2006 at 9:19 am
The problem is per column update... not by tsql batch.
While it can't be used here it could certainly help him someday.
May 1, 2006 at 7:51 am
Check the books online in the trigger section. The only way you can access deleted data is in a trigger in the Deleted table. After that you need...
April 30, 2006 at 8:23 pm
check out this section of the books online for a solution :
UPDATE, UPDATE (described)
April 29, 2006 at 9:03 pm
I already answered here :
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=291&messageid=276417
April 28, 2006 at 9:56 pm
I have a simple math solution for you :
2 servers = 2 times the costs
2 servers also means that the data has to be written twice instead of one...
April 28, 2006 at 9:55 pm
The best solution would be to create 4 separate procs to handle all possible cases (actually 1 per table combinaison). Have that proc call the appropriate procedure. If...
April 28, 2006 at 9:51 pm
Why exactly do you want to be able to do this?
I rarely see the need (valid) for this in a production environement.
April 27, 2006 at 6:09 am
I want to drop a table.
But I want to delete data.
That's the just way I hear it... but now he knows he can do both.
April 26, 2006 at 8:34 am
Another solution.. Generate the drop commands with a select query :
select 'Drop table dbo.' + Name as DropCommand from dbo.SysObjects where XType = 'U' and name like 'T%'
Once you...
April 26, 2006 at 6:16 am
Run the query in query analyser. Click on the results pane.
Then go in the file menu and hit save.. If you have correctly clicked on the results pane, then...
April 26, 2006 at 6:11 am
Don't know him... maybe I'll ask my ubiquitus spook.
April 25, 2006 at 7:38 am
You could always have 2 sets of data. On one server you would have the active data (let's say the last 4-6 months depending on your requirements). Then you'd have...
April 25, 2006 at 6:47 am
How about??
CREATE PROCEDURE dbo.GetMember @ad_id as varchar(20)
AS
SELECT DISTINCT members.ad_id FROM departments WHERE departments.mgr_ad_id = @ad_id
April 25, 2006 at 6:42 am
Viewing 15 posts - 12,121 through 12,135 (of 18,923 total)