Viewing 15 posts - 4,576 through 4,590 (of 8,753 total)
anthony.green (9/11/2015)
whereisSQL? (9/10/2015)
Ed Wagner (9/10/2015)
DonlSimpson (9/10/2015)
Ed Wagner (9/10/2015)
djj (9/10/2015)
Ed Wagner (9/10/2015)
whereisSQL? (9/10/2015)
Luis Cazares (9/10/2015)
UniverseHe-Man
Conan
Sword
Katana
Samurai
Shogun
Shaolin
Monastery
Hermetic
September 11, 2015 at 5:05 am
Newbie36037 (9/11/2015)
With a bit of tweaking I got it to workMany Thanks
You are very welcome.
😎
September 11, 2015 at 4:42 am
akash_singh (9/11/2015)
Here is the execution plan for your reference.
The image posted does not help much, the only thing one can suggest from this is to add covering indexes to the...
September 11, 2015 at 3:38 am
Quick question, can you post the DDL (create table), sample data as an insert statement and the desired output?
😎
September 11, 2015 at 1:57 am
My 2 Cents, when working with large and often complex schema, cluttering a detail level ERD into a single diagram does neither make sense nor serve any purpose (apart from...
September 11, 2015 at 1:35 am
September 11, 2015 at 1:26 am
Quick example
😎
USE tempdb;
GO
SET NOCOUNT ON;
/* XML snip to update, note added a ROOT element */
DECLARE @TXML XML = '<ROOT>
<Name>Assets - Reconciler</Name>
<UpdatedOn>2015-05-20T13:23:09.230</UpdatedOn>
<CreatedOn>2015-05-20T13:22:04.920</CreatedOn>
<UpdatedBy>RLG\JoeBloggs</UpdatedBy>
<CreatedBy>RLG\JoeBloggs</CreatedBy>
<InputDirectory>\\99.999.999.9\Active</InputDirectory>
<OutputDirectory>\\99.999.999.9\Archive</OutputDirectory>
<ErrorDirectory>\\99.999.999.9\Errors</ErrorDirectory>
<LoadId>0</LoadId>
<Type>ExcelFile</Type>
</ROOT>';
DECLARE @NEW_IP VARCHAR(15) = '123.456.789.012';
DECLARE @SAMPLE_TABLE TABLE
(
...
September 11, 2015 at 1:24 am
Quick thought, with the negative top directive the estimated execution plan is the same as the input plan (only translation) without any optimization. Change the top directive to n>0 and...
September 10, 2015 at 11:03 pm
Joshua D Gang (9/10/2015)
September 10, 2015 at 9:32 am
drew.allen (9/10/2015)
Eirikur Eiriksson (9/10/2015)
😎
IF NOT EXISTS (
SELECT SP.Name, SPM.permission_name from sys.server_principals SP
INNER JOIN sys.server_permissions SPM ON SP.principal_id = SPM.grantee_principal_id
WHERE
(SP.name = 'SomeRole' AND SPM.permission_name = 'VIEW...
September 10, 2015 at 9:16 am
Quick suggestion (you are almost there)
😎
IF NOT EXISTS (
SELECT SP.Name, SPM.permission_name from sys.server_principals SP
INNER JOIN sys.server_permissions SPM ON SP.principal_id = SPM.grantee_principal_id
WHERE
(SP.name = 'SomeRole' AND SPM.permission_name = 'VIEW ANY DEFINITION')
AND --OR
(SP.name...
September 10, 2015 at 12:56 am
Stuart Davies (9/10/2015)
Ed Wagner (9/9/2015)
djj (9/9/2015)
Ed Wagner (9/9/2015)
DonlSimpson (9/9/2015)
Luis Cazares (9/9/2015)
Ed Wagner (9/9/2015)
crookj (9/9/2015)
Jim_K (9/9/2015)
ZZartin (9/9/2015)
eccentricDBA (9/9/2015)
BWFC (9/9/2015)
Eirikur Eiriksson (9/9/2015)
whereisSQL? (9/9/2015)
ClassyGlossy
Magazine
cartridge
Cartilage
Shark
Jaws
Sea
World
Globe
Travel
Lodge
Cast Iron
guarantee
Warranty
September 10, 2015 at 12:51 am
Quick suggestion, use the Parameters (OleDbParameterCollection) collection which is a member of the OleDbCommand Class.
😎
September 10, 2015 at 12:45 am
Barkstuff (9/9/2015)
Is it possible to export the environment variables for an SSIS 2012 project? And if so how is it achieved?
Thanks...
September 10, 2015 at 12:39 am
SQL-DBA-01 (9/9/2015)
Many a times see the below error in SQL Error log.
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. Reason: Token-based server access validation failed with an infrastructure error. Check...
September 10, 2015 at 12:36 am
Viewing 15 posts - 4,576 through 4,590 (of 8,753 total)