Viewing 15 posts - 3,451 through 3,465 (of 13,469 total)
no ;
the public role is kind of like the "Everyone" group in Active directory;
it's required for the system to work, everyone belongs to it. it cannot be removed.
you can, hoever...
May 17, 2013 at 5:35 am
your issue is from the union of the query;
the aliases for column names always come from the first query in the union, and right now all the columns have...
May 17, 2013 at 5:29 am
gchappell (5/16/2013)
Has nolock been depricated in SQL Server 2012, or does the optimizer ignore the no lock and still run?
nolock is always ignored for insert/update delete statements, as honoring that...
May 16, 2013 at 12:58 pm
a very basic model to help you visualize the process:
SET ROWCOUNT 50000
WHILE 1 = 1
BEGIN
UPDATE dbo.myTable
SET MyField...
May 16, 2013 at 12:16 pm
well, it's going to be an extra/separate process to save the view definitions, but you could at least automate it;
for example, you could guard all the view definitions, restore, then...
May 16, 2013 at 12:02 pm
couldn't ALTER DATABASE msdb SET SINGLE_USER fail if other processes are in it?
does SQL2000 have WITH ROLLBACK IMMEDIATE?
ALTER DATABASE msdb SET SINGLE_USER WITH ROLLBACK IMMEDIATE
May 16, 2013 at 10:20 am
i think using the row number with a sub select will get you what you are after:
SELECT
Employee_ID,
Employee_Title,
Employee_Entry
FROM (SELECT
...
May 16, 2013 at 6:54 am
can you check the database compatibility of the database?
i remember that SSMS disables Intellisense for SQL2005 (even though it's possible to enable it);
maybe that functionality is based on checking the...
May 16, 2013 at 6:51 am
cheekatla.rakesh (5/16/2013)
Really thanks man...I have one more question that is why we apply service packs on server
Pretty much the same reason you upgrade FireFox, Google Chrome or any other...
May 16, 2013 at 6:47 am
rather than thinking of tickets you might encounter, think of the responsibilities the production DBA has, and evaluate yourself on which items you cna do, and which you want to...
May 16, 2013 at 6:18 am
Missing a comma and also a closing parenthesis on the log:
changing the layout for readability was what made me see it:
Create database ToddTestDB On Primary
( Name = N'ToddTestDB',
FILENAME...
May 16, 2013 at 5:30 am
the last selection should just be an ELSE;
SELECT
CASE
WHEN CARS.Model LIKE '%Ford%' THEN 'Ford'
WHEN CARS.Model LIKE '%Chev%' THEN 'Chev'
WHEN CARS.Model LIKE '%Buick%' THEN 'Buick'
ELSE 'All Cars'
END AS 'Models'
May 15, 2013 at 3:36 pm
BACKUP default directory
http://www.sqlservercentral.com/Forums/Topic1319398-1550-1.aspx
/*
In case it was not clear in Jason's post, the @key parameter value remain consistent
across all of your instances. The proc he is calling does proper registry...
May 15, 2013 at 3:33 pm
On a completely unrelated note, I started making a post asking someone for a working example of a linked server for Access using the ACE drivers; about halfway through creating...
May 15, 2013 at 7:04 am
yeah this was from my SQL 2000 notes, so we are talking really old school code;
It Used to be possible to map a drive by throwing a key in...
May 14, 2013 at 2:31 pm
Viewing 15 posts - 3,451 through 3,465 (of 13,469 total)