Viewing 15 posts - 946 through 960 (of 13,445 total)
your original six part WHERE finds everything that is "OK", ie does not match the double spaced indexes.
this might work as w to find your exceptions and outliers:
select p_code
from Postcode
where...
May 26, 2016 at 6:13 am
i only see some minor suggestions so far, still reading, but it looks fine to me.
my permissions concert is alleviated by the EXECUTE AS statement.
Besides TCP that you are testing...
May 26, 2016 at 6:02 am
i think you can just search for double spaces, and not whether they follow the rest/standard formatting for like rules right?
if double spaces are not allowed, you could just replace...
May 26, 2016 at 5:33 am
i would lean more towards a logic error in the trigger.
the login trigger clearly rejected the login, but that might be because the login user does not have read permissions...
May 26, 2016 at 5:24 am
I've found the best way to resolve this issue is to sync the sids.
SQL users generate a unique Id that is different on each login...so My login[Bob] is not the...
May 26, 2016 at 5:15 am
Sql audit can track who made changes in general, and when, but to the best of my knowledge cannot say what row changed, but not whether your statusflag column was...
May 25, 2016 at 5:37 pm
i think for whodunnit information, a trigger is going to be the best, followed by a SQL Audit(which uses Extended events anyway...so it's a pre-built tool that writes to the...
May 25, 2016 at 1:52 pm
here's something i recently built to move specific clustered indexes to a new filegroup, and also enable page compression on some specific tables;
you'll see some commented artifacts referencing a table...
May 25, 2016 at 1:43 pm
sure; there's a system view named sys.database_permissions.
this will give you users and groups that have the permission you are looking for...but you might need to expand group members if you...
May 25, 2016 at 1:13 pm
DouglasH (5/25/2016)
May 25, 2016 at 9:24 am
In my case, i was bitten by the 2./3.0 when i wax using Export-Csv i think, which added -Appen parameter.
I ended up using a command line call to the...
May 25, 2016 at 9:07 am
can you run $PSVersionTable?
i'm thinking the script is for Powershell 3.0, but it's running under 2.0 context?
the third error i would think can occur if the string $DestinationFile has...
May 24, 2016 at 3:23 pm
in that case, your count, as you currently have it, would always be one, since the WHERE statement is limiting data to the same day the person died.
you have to...
May 24, 2016 at 2:24 pm
i would think do the following
add a new column, ie
update it to the equiv orig value, maybe in small batches
rename orig column
rename new column
drop orig column
ALTER TABLE myTable...
May 24, 2016 at 1:18 pm
boehnc (5/24/2016)
May 24, 2016 at 1:04 pm
Viewing 15 posts - 946 through 960 (of 13,445 total)