Viewing 15 posts - 2,776 through 2,790 (of 2,839 total)
There is role named db_backUpOperator. You can assign the user you create to that role.
January 11, 2008 at 7:44 am
I dont know if this will help but
You could always give the user DDL rights. After that you can add the user to the DB_denyDataWriter role along with db_Datareader role.
That...
January 11, 2008 at 7:13 am
Why dont you use a hint (ReadUncommitted) in the Catch part to prevent blocking?
January 11, 2008 at 6:55 am
Open New Query window.
Use Midas;
Go
Select * from sys.all_objects
go
January 10, 2008 at 6:18 am
You can see all objects in sys.all_objects. It is view.
January 10, 2008 at 5:55 am
I might be completly off the base but I read somewhere that it has to do soemthing with the TCP Chimney is enabled on a Wondows 2003 SP 2 with...
January 9, 2008 at 1:12 pm
Maybe you should try to look up sp_getapplock. I think that should help you with this issue.
January 9, 2008 at 12:47 pm
There is no spool command like that you have in Oracle. You can save the result to a file.
January 9, 2008 at 7:48 am
Yes, when you are trying to update with the key it is useful.
January 9, 2008 at 7:40 am
USE MIDAS;
Go
select 'grant select on ' + name + ' to serviceuser' from dbo.sysobjects where OBJECTPROPERTY(id, N'IsUserTable') = 1
GO
I think that should work
January 8, 2008 at 1:29 pm
Michael Valentine Jones (1/8/2008)
When his stuff starts failing, tell...
January 8, 2008 at 1:01 pm
Why dont you try top and use derived query.
Select top 1 x from
(
SELECT X
FROM table
WHERE accepted = 0
GROUP BY X
ORDER BY COUNT(x) DESC) as a
January 8, 2008 at 11:06 am
I hope the application is not using the present owner as its user when accessing the DB. Then it might break depending on the code I guess..
January 8, 2008 at 11:03 am
As far as I know and the tests done with the profiler, it shouldnt e an issue. Except that it could drive you nuts...;)
January 8, 2008 at 10:36 am
Actually the fastest way would be to use UPSERT.
Update
set col2 = @par2
where Col1 = @par1
if @@rowcount = 0
insert into (Col1,Col2)
values
(@par1,@par2)
When you do a If...
January 8, 2008 at 10:27 am
Viewing 15 posts - 2,776 through 2,790 (of 2,839 total)