コード例 #1
0
ファイル: InformationSchema.cs プロジェクト: prepare/deveeldb
 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' )");
 }