Viewing 15 posts - 1 through 15 (of 25 total)
Not a lot of information was given about your, 'hung', server. Was there a rollback to a transaction underway? How was the issue resolved? Cut the power to the server...
July 12, 2007 at 12:26 pm
The job and schedule are both enabled.
the table is : sysjobschedules
March 24, 2006 at 3:42 pm
I think that everyone is missing the obvious here. The desired result of running the following SP is to obtain a list of associated Purchase_Order_IDs:
EXEC dbo.usp_generate_purchase_order @item_category_id, @order_id, @purchase_order_id OUTPUT
If...
January 17, 2006 at 7:59 am
FWIW
If you are going to play with dynamic SQL, it would be best to do as the previous poster suggested and load the dynamically generated SQL string into a variable...
November 22, 2005 at 7:43 am
Did he use a modeling tool in creating his database? I am once again working with Erwin after a few years away from it, and I am finding that when...
November 16, 2005 at 7:04 am
Not sure how you are using the column names from the query, but if you need
them in a single string, you can do this:
Declare @ColNames varchar(2000)
select @ColNames = ''
select @ColNames...
November 10, 2005 at 1:50 pm
If you have not set "nocount", "on", within the SP, then you are getting 2 record sets returned when you are expecting 1.
November 2, 2005 at 8:42 am
Not possible the way you are trying to do the update.
Correct me if I am wrong. You would like to do a positional update, in other words, you would like...
October 26, 2005 at 2:15 pm
This might be a case in which it makes sense to use dynamic SQL.
October 19, 2005 at 9:29 am
Wasn't aware that DBs got detached when Master was backed up. This would have played havoc with an application where we did a complete backup of master every hour through...
October 18, 2005 at 7:56 am
Well, that is why I posted the reply. I did have the where clause in the view.
A select * from vw returned ids 1 - 4.
Which is why I considered...
September 28, 2005 at 1:26 pm
When creating the objects as described, I am getting the
following result set:
ID Val Val2
----------- ----------- -----------
1 1 1
2 1 1
3 1 1
4 1 1
5 1 1
6 1 1
7 ...
September 28, 2005 at 10:11 am
One way to avoid receiving an error for a Primary Key violation is to test the insert data to see if the Primary Key already exists in the table. If...
September 2, 2005 at 8:28 am
Another alternative would be to do a self join:
update modulesettings
set SettingValue = 'TRUE'
from modulesettings inner join modulesettings ms2
on modulesettings.ModuleID = ms2.ModuleID
where modulesettings.SettingName = 'ShowPaging' and
ms2.SettingName = 'GroupType' and
...
August 25, 2005 at 12:48 pm
Thanks Remi, that works. Has sysname always been an Nvarchar datatype? I don't remember running into this problem before and I have been doing this for a number of years...
July 15, 2005 at 8:05 am
Viewing 15 posts - 1 through 15 (of 25 total)