Viewing 15 posts - 271 through 285 (of 482 total)
Thanks Ninja, but we're not even getting close to a DB yet.
Our prod SQL Server can't get info for the new name, let alone allow a login to proceed.
All...
July 11, 2012 at 12:51 pm
More info:
1) For the user in question, a newname account was created as a copy of their oldname account, then deleted. Then along comes me and renames the oldname...
July 11, 2012 at 12:33 pm
I should have noted that the users are in AD groups, and access the SQL Servers via their group memberships.
Renaming the users accounts does not affect their group membership.
Moreover, it's...
July 11, 2012 at 11:09 am
Found it.
It works, although it doesn't appear to be faster than my current solution.
I'll keep at it...
P
July 10, 2012 at 12:17 pm
dsquery doesn't appear to be supported on XP.
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2008, Windows Server 2008 R2
I get ...not...
July 10, 2012 at 10:06 am
The edict came from on high a couple of years ago: NO NEW SERVERS! (except when a prod box dies).
July 10, 2012 at 9:54 am
We grant SQL Server / DB access to Windows groups.
We determine which version of the app (read "Server"), which projects (read "databases") users can see, as well as what...
July 10, 2012 at 9:39 am
@opc.three: thanks. I can't wait for the time when we move on from XP :-), and I can begin using those AD cmdlets.
@bruce-2: thanks for that. I can see I''m...
July 10, 2012 at 5:27 am
Thanks Laerte!
Found you a couple of months ago, I appreciate your work.
I also found these functions last week.
P
July 4, 2012 at 6:05 am
I remember it well. Hilarious!
June 26, 2012 at 11:43 am
PS: Is your picture Robert Hays in Airplane?
June 26, 2012 at 11:12 am
Confirmed.
Set-Location SQLSERVER:\SQL\MyServer\Default\Databases\MyDB\StoredProcedures
dir | select name
does not return any system sprocs. I wonder why the repl sprocs would fall into the user category.
Weird...
P
June 26, 2012 at 10:58 am
$Srv = New-object Microsoft.SqlServer.Management.SMO.Server "Mufasa"
$Srv.Databases["Abb"].StoredProcedures | where {$_.issystemobject -eq $true} | select name
This returns 1300+ system procs -- including repls, and I don't have replication enabled.
P
June 26, 2012 at 9:15 am
This will exclude all non-user objects. I assume they're probably not required anyway.
Get-ChildItem | where {$_.IsSystemObject -eq $false}
June 26, 2012 at 7:18 am
Mystery solved. Ugh.
I managed to do what I wanted using Substring and IndexOf.
Thanks!
May 29, 2012 at 9:04 am
Viewing 15 posts - 271 through 285 (of 482 total)