Viewing 15 posts - 6,691 through 6,705 (of 13,460 total)
Phillippe can we review some basic setups first?
What is the default size of tempdb? at startup, by default, it's a piddling 8 meg, and would grow by 1 meg at...
Lowell
September 26, 2011 at 7:00 am
in the msdb database, you'll need to add the user, adn then make him a member of the [DatabaseMailUserRole] role.
USE [msdb]
GO
CREATE USER [user1] for login [user1]
EXEC sp_addrolemember 'DatabaseMailUserRole','user1'
Lowell
September 25, 2011 at 8:31 pm
RETURNS nvarchar
unless you explicitly state a size, the default is 1;
it's only when you are using cast or convert that the unstated size is 30
it's pretty common to assume ...
Lowell
September 25, 2011 at 12:39 pm
i think the issue is contextinfo is varbinary(128); you have to convert to nvarchar, and then to biginto to get the value you want.
exec
sp_help 'master.dbo.sysprocesses'
DECLARE @var VARBINARY(128)
SET @var...
Lowell
September 25, 2011 at 6:14 am
Seth when i change the database owner, i seem to see exactly what id'd expect...two more databases
using my same code from above:
DENY VIEW ANY DATABASE TO DBVIEWERTESTING
USE SandBox
GO
exec sp_changedbowner DbViewerTesting
USE...
Lowell
September 23, 2011 at 1:36 pm
don't you have to stop and start the service to change the config values into run values?
i suspect the 3=changes pending as an undocumented status.
Lowell
September 23, 2011 at 11:39 am
the command you are looking for is this snippet to hide databases the end user doesn't have access to:
DENY VIEW ANY DATABASE TO [SomeUserOrRole]
here's some testable code to prove...
Lowell
September 23, 2011 at 11:31 am
fully consumable, copy and paste example:
CREATE TABLE [dbo].[tbl_Purchase] (
[Purchase_id] bigint ...
Lowell
September 23, 2011 at 7:50 am
dilip.aim11 (9/23/2011)
i sent sample data.... Plse Check this..Thnks
that's not sample data....
what we need is "consumable" data...copy and paste into SSMS, run it, so we have a setup that mimicks the...
Lowell
September 23, 2011 at 7:43 am
Since this is your first post, let me try and give you an example of what we really need to help you, just like Gianluca suggested
i ran this thru...
Lowell
September 23, 2011 at 7:36 am
prakash 67108 (9/23/2011)
Hi,Is it possible to find last modified date of the table and previous structure of the table after it is altered...?
Thanks
you can get the last modified date if...
Lowell
September 23, 2011 at 6:20 am
we use compound IF EXISTS commands to make sure that a table we KNOW exists....well exists...
(if it's our version of a database)...
it eliminates issues where the IF NOT EXISTS...CREATE TABLE...
Lowell
September 22, 2011 at 2:29 pm
techzone12 (9/22/2011)
There probably needs to be some sort of...
Lowell
September 22, 2011 at 2:23 pm
Elliott Whitlow (9/22/2011)
If you chose to use the code from codeplex and have any trouble let me know, I am the author.CEWII
Elliot that is a really nice project, and was...
Lowell
September 22, 2011 at 1:54 pm
well, "instance" is a keyword for SQL server, do you mean two installations of SQl server on the same physical machine, or do you mean two separate servers, both with...
Lowell
September 22, 2011 at 1:37 pm
Viewing 15 posts - 6,691 through 6,705 (of 13,460 total)