How can we help you today? How can we help you today?
ivanjh

Activity overview

Latest activity by ivanjh

BUG: Table VIEW CHANGE TRACKING perm from DB (10.2/7&11.0b)
My Case I have a scripts folder which includes "GRANT VIEW CHANGE TRACKING ON table TO user" and these appear as differences during a compare, although the permission IS granted in the DB. It appea...
2 followers 2 comments 0 votes
Any release that fixes SC-6564?
Any release that fixes SC-6564?
2 followers 2 comments 0 votes
Run THIS on a SQL server: CREATE TABLE [dbo].[ColTest] ( [A] [int] NULL, [B] [int] NULL, [C] [int] NULL, [D] [int] NULL, [E] [int] NULL, [F] [int] NULL, [G] [int] NULL, [H] [int] NULL ) ALTER TABLE [ColTest] DROP COLUMN [B] GRANT UPDATE ([C]) ON [dbo].[ColTest] TO [public] GRANT UPDATE ([E]) ON [dbo].[ColTest] TO [public] GRANT UPDATE ([F]) ON [dbo].[ColTest] TO [public] SQL Compare generates this: -- Columns CREATE TABLE [dbo].[ColTest] ( [A] [int] NULL, [C] [int] NULL, [D] [int] NULL, [E] [int] NULL, [F] [int] NULL, [G] [int] NULL, [H] [int] NULL ) GO -- Permissions GRANT UPDATE ([D]) ON [dbo].[ColTest] TO [public] GRANT UPDATE ([F]) ON [dbo].[ColTest] TO [public] GRANT UPDATE ([G]) ON [dbo].[ColTest] TO [public] GO Notice the incorrect columns in the grants (DFG when it should have been CEF). It appears the column names for the grants are being determined using sys.columns.column_id as a positional index into the column list, instead of matching on column_id. / comments
Run THIS on a SQL server: CREATE TABLE [dbo].[ColTest] ( [A] [int] NULL, [B] [int] NULL, [C] [int] NULL, [D] [int&#93...
0 votes
BUG: Incorrect column permissions shown/scripted (10.5&10.4)
Execute (I used SQL x64 Version: 11.0.3000.0): CREATE TABLE [ColTest]([A] [int], [int], [C] [int], [D] [int]) GRANT UPDATE ([C]) ON [dbo].[ColTest] TO [public] ALTER TABLE [ColTest] DROP COLUMN -...
2 followers 5 comments 0 votes
I don't want it to recognise my SqlProj file (10.3+)
We have a ".sqlproj" file that includes all the scripts generated by the "Create Scripts Folder..." option. Because the scripts aren't compatible with a Visual Studio database project, the build ac...
1 follower 1 comment 0 votes
BUG:Reflector missing UINT to ULONG casts with Shift Left
Reflector (6.5.0.135) doesn't recognise the need for a cast when a UINT is cast to a ULONG before performing a Shift Left operation. Example: public class ReflectorTest { public ulong uint...
1 follower 1 comment 0 votes