INSERT INTO TR_SEARCH_PATTERN(
  ID,
  PATTERN_NAME,
  GID,
  QUERY,
  PREFERENCE,
  INSERT_DATETIME,
  INSERT_ID,
  UPDATE_DATETIME,
  UPDATE_ID,
  VERSION
) VALUES(
  NEXTVAL('sq_pattern'),
  /*:PatternName*/'pattern',
  /*:Gid*/'GID',
  /*:PatternQuery*/'QUERY',
  /*?Default*/'0',
  /*:DateTime*/TO_DATE('20091224000000','YYYYMMDDHH24MISS'),
  /*:Uid*/'nakayama',
  /*:DateTime*/TO_DATE('20091224000000','YYYYMMDDHH24MISS'),
  /*:Uid*/'nakayama',
  1
)
