# langと本文とで型が食い違っている(1)

Begin;
Initialize;
InitializeSession "DefaultDB";

# 表を作成
Command "create table T (N int, C ntext, L language array [no limit])";

#insert
CreatePreparedCommand "ins" "insert into T (N, C, L) values (?, ?, ?)";
PreparedCommand "ins" [0, null, ["ja", "en"]];
PreparedCommand "ins" [1, textucsfile "..\\..\\doc\\takekurabe.txt",
			  ["ja", "en"]];
ErasePreparedCommand "ins";

# 索引作成に失敗すること
Command "create fulltext index FTL on T(C) language column L hint 'inverted=(normalized=true, indexing=dual, tokenizer=DUAL:JAP:ALL:1 @NORMRSCID:1 @UNARSCID:1)'";


# 全文ファイルテスト用の表を消去
Command "drop table T";

TerminateSession;
Terminate;
End;

