Ejemplo n.º 1
0
 public static void CreateViews(IQueryContext context)
 {
     context.ExecuteCreateView("INFORMATION_SCHEMA.ThisUserSimpleGrant",
         "  SELECT \"priv_bit\", \"object\", \"param\", \"grantee\", " +
         "         \"grant_option\", \"granter\" " +
         "    FROM " + SystemSchema.UserGrantsTableName +
         "   WHERE ( grantee = user() OR grantee = '@PUBLIC' )");
 }