Viewing 15 posts - 241 through 255 (of 347 total)
i usually use "alter database set single_user with rollback immediate"
October 11, 2007 at 9:37 am
add this to the end of your create login statement:
, CHECK_EXPIRATION=OFF, CHECK_POLICY=OFF
October 10, 2007 at 3:45 pm
if there is a windows user that has SA role, just have them login and change the SA password to what it is supposed to be. By default, local admins...
October 10, 2007 at 10:06 am
I would suggest using BCP for this. The syntax is in BOL
October 10, 2007 at 10:03 am
yes, you can either create another backup device pointing to a different file for the differentials, or you can do backup to disk = 'full path' and it will write...
October 10, 2007 at 10:01 am
I guess it depends. Do you have any other apps planned to be installed on the OS partition? do you have multiple instances going to the box? are you going...
October 5, 2007 at 3:35 pm
the binaries will go on the C drive of both nodes, then you put the data and logs on a shared drive. It will ask you for the shared drive...
October 2, 2007 at 8:17 am
since we have plenty of free space, we do not do any shrinks. dbcc shrinkfile is run in a query window. you will need to know the name of your...
October 1, 2007 at 2:07 pm
either you have a long running transaction, or you simply can shrink the log to reclaim the unused space. use dbcc shrinkfile to shrink the log
October 1, 2007 at 1:47 pm
I have used red-gate sql compare and Visual Studio 2005 for database professionals (datadude)
they both do a good job. I know red-gate gives a free trial for 15 days or...
October 1, 2007 at 1:45 pm
we looked at both lumigent and idera. We ended up getting Idera's compliance manager, but I guess it's a matter of opinion. Idera was cheaper and did everything we needed...
September 27, 2007 at 3:58 pm
CREATE Function Foo (params...)
Returns bit as
begin
declare @count
select @count = count(*) from ............
if @count >= 1
begin
return 1
end
else
begin
return 0
end
end
September 27, 2007 at 8:46 am
your having clause just needs move after the group by statement and needs to be before the order by statement
September 26, 2007 at 4:01 pm
users and roles are both in sysusers table
you can use sp_helprole to get just the roles, or look in BOL to see what the other columns mean and you can...
September 26, 2007 at 3:57 pm
Viewing 15 posts - 241 through 255 (of 347 total)