Viewing 15 posts - 2,176 through 2,190 (of 13,462 total)
REVOKE would remove a GRANT that was already created;
you can get that list from sys.database_permissions, and script the DENY's from there.
but what about users who were simpyl added to...
November 26, 2014 at 8:28 am
if you
select * from MillionBillionRowTable
That takes a lot of time.
period.
you are returning a ton of data, and that requires resources.
the only way to speed that up is with...
November 26, 2014 at 8:22 am
Meatloaf (11/26/2014)
Thank you for your reply. The data each have their own columns.
My current query is: SELECT EID, LName, FName, Phone FROM EmployeeContacts ORDER BY LName
How would...
November 26, 2014 at 8:17 am
it depends on the data.
if you are smart, and are storing them as three distinct strings in three columns, then yes of course. you simp-ly select three columns.
if you are...
November 26, 2014 at 7:52 am
best i can do ?
translate.google.com
Hello everyone!
I wanted to let you know of a problem I had after migration!
I had a select that in the previous version worked perfectly!
After the change,...
November 25, 2014 at 6:58 am
i believe if you call the same procedure with different ansi settings(ansi_null, etc), you get a different plan cache for each combination, which is created as they are called the...
November 24, 2014 at 1:47 pm
this looks wrong.
it should be either localhost\instance or machinename\instance
so i'd expect some of these to be right:
-S localhost\SQLEXPRESS
-S .\SQLEXPRESS
-S PSIMONDS\SQLEXPRESS (asuming your machine is named PSIMONDS!)
-S 127.0.0.1\SQLEXPRESS
November 21, 2014 at 11:07 am
i've seen this before, i think this is part of sp_send_dbmail when you use the @attach_query_result_as_file = 1 option alongside @query_result_header = 1.
as i remember it, you have to NOT...
November 20, 2014 at 5:50 am
you also need to be aware of the number of fields in your splits...
if osmeone doesn't have a two part address, before the city, your fields could not line up...
November 18, 2014 at 5:14 am
when i query my dev server for tempdb, for example, i get three locations:
select * from tempdb.sys.database_files
D:\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\tempdb.mdf
L:\Logs\templog.ldf
E:\MSSQL\Data\tempdb2.ndf
November 18, 2014 at 4:58 am
well, i know three of them are stored in the registry, o a per-isntance basis.
EXECUTE [master].dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\MSSQLServer', N'BackupDirectory';
EXECUTE [master].dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\MSSQLServer',...
November 18, 2014 at 4:53 am
yep your error goes directly to y assumptions: based on the sample data, the desired string always exists at the beginning.
Koen's suggestion is easily the fastest, but there's probably other...
November 18, 2014 at 4:13 am
by making the assumptions outlined below, you can use patindex to find the beginning of the first non-character letter, and grab the substring.
the desired string always starts the string.
some character...
November 18, 2014 at 3:10 am
i've used Process Explorer from sysinternals in the past
, as well as OpenedFilesView
http://technet.microsoft.com/en-us/sysinternals/bb795533.aspx
November 17, 2014 at 7:46 pm
it depends on what you want to monitor, of course.
so general tools i'm aware of are like this one...
Dell's Spotlight Freemium is pretty good for free, i kind of like...
November 17, 2014 at 5:19 am
Viewing 15 posts - 2,176 through 2,190 (of 13,462 total)