Viewing 15 posts - 6,466 through 6,480 (of 7,505 total)
is this an sp4 instance ? (we plan to upgrade to sp4, just inventoring what to expect) ![]()
November 4, 2005 at 6:51 am
Using isqlw.exe (or osql.exe) (i cannot recall wich one is provided with msde) you can perform something like this :
create a script like this
-- allow serverlogin
exec sp_grantlogin N'windowsdomain\windowsuser_A' --...
November 4, 2005 at 12:26 am
Thanks for your input.
That is indeed a section that is in my checklist ![]()
November 2, 2005 at 12:30 am
Well, lets just say it is a "must do" to get a feeling with your rdbms.
If you ignore execution plans, or the investigation regaring how and why your rdbms uses...
November 2, 2005 at 12:14 am
sql2000 ?
only make the wanted user or group member of the database-owner group in the database. Database owners can do anything they want in the db.
exec sp_addrolemember N'db_owner', N'youruser'
Grant the...
October 31, 2005 at 7:02 am
Check Information Schema Views in books online.
They are SQL-92 standard.
These views are preferable over the system-tables like sysobjects, sysusers, ... because they follow the standard.
Propriatary systemcatalogtables may change with each fix/servicepack/version.
October 31, 2005 at 6:21 am
I'ts always a nice adventure to predict an execution plan yourself and then compare it to the one sqlserver uses ![]()
You'll learn a lot...
October 31, 2005 at 5:37 am
Well, for sqlserver < ss2005 "specific_schema" = "owner"
If you don't want to filter based on owner, just comment the where clause. ![]()
you can run...
October 31, 2005 at 4:17 am
Are u allowed to use regedit ? ![]()
check [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\yourdsn
and remove the "Database"="faultydbname"
or replace it with a correct dbname
or remove the full...
October 31, 2005 at 3:54 am
how about :
-- grant select, insert, update, delete
DECLARE @SQLStatement nvarchar(4000)
DECLARE csrGrants CURSOR LOCAL FAST_FORWARD READ_ONLY FOR
Select 'Grant select, insert, update, delete on [' + [TABLE_SCHEMA] + '].[' + [TABLE_NAME] +...
October 31, 2005 at 3:46 am
can you remove the odbc-dsn and then build it up again ?
October 31, 2005 at 2:55 am
Offcourse you'll have to check execution plans, but the optimizor will see trough it (I hope) ![]()
This would result in a query like this...
October 31, 2005 at 2:44 am
Nope ![]()
- take a look at SQLDMO
- maybe this can help you out ...
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=23&messageid=107508
"C:\Program Files\Microsoft SQL Server\MSSQL\Upgrade\scptxfr.exe" /s yourserver /d...
October 28, 2005 at 4:09 am
did someone drop and recreate the database ?
Connect using Query Analyser. You'll also get the message, but it will connect to master and you can work from there on.
October 28, 2005 at 3:54 am
Viewing 15 posts - 6,466 through 6,480 (of 7,505 total)