1 echo create table t2
( f1 int
, f2 int
, primary key
(f1
, f2
));
3 echo create index ind on t2
(f1
);
5 echo create table t1
(f1 int
,f2 char
(10),f3 smallint
,f4 tinyint
,primary key
(f1
,f2
));
7 echo create index indx1 on t1
(f1
,f3
);
9 echo create index indx2 on t1
(f3
);
11 echo create index indx3 on t1
(f2
,f4
);
13 echo create index indx4 on t1
(f2
,f3
);
15 echo create index indx5 on t1
(f1
,f3
,f4
);
17 echo create index indx6 on t1
(f1
,f3
,f2
);
19 echo create index indx7 on t1
(f1
,f3
,f2
);
21 echo create table t3
(f1 int
,f2 char
(10),f3 smallint
,f4 tinyint
,primary key
(f1
,f2
));
23 echo create index indx11 on t3
(f1
,f3
);
25 echo create index indx12 on t3
(f3
);
27 echo create index indx13 on t3
(f2
,f4
);
29 echo create index indx14 on t3
(f2
,f3
);
31 echo create index indx15 on t1
(f1
,f3
,f4
);
33 echo create index indx16 on t1
(f1
,f3
,f2
);
35 echo create index indx17 on t1
(f1
,f3
,f2
);
37 echo create table t4
(f1 int
);
39 echo create index indx18 on t4
(f1
,f1
);
40 Statement execute failed with error
-4
41 <Table Information of all tables
>
43 <TableName
> t2
</TableName
>
45 <FieldName
> f1
</FieldName
>
48 <Primary
> 1 </Primary
>
50 <Default
> 0 </Default
>
51 <DefaultValue
> </DefaultValue
>
54 <FieldName
> f2
</FieldName
>
57 <Primary
> 1 </Primary
>
59 <Default
> 0 </Default
>
60 <DefaultValue
> </DefaultValue
>
64 <TableName
> t1
</TableName
>
66 <FieldName
> f1
</FieldName
>
69 <Primary
> 1 </Primary
>
71 <Default
> 0 </Default
>
72 <DefaultValue
> </DefaultValue
>
75 <FieldName
> f2
</FieldName
>
78 <Primary
> 1 </Primary
>
80 <Default
> 0 </Default
>
81 <DefaultValue
> </DefaultValue
>
84 <FieldName
> f3
</FieldName
>
87 <Primary
> 0 </Primary
>
89 <Default
> 0 </Default
>
90 <DefaultValue
> </DefaultValue
>
93 <FieldName
> f4
</FieldName
>
96 <Primary
> 0 </Primary
>
98 <Default
> 0 </Default
>
99 <DefaultValue
> </DefaultValue
>
103 <TableName
> t3
</TableName
>
105 <FieldName
> f1
</FieldName
>
108 <Primary
> 1 </Primary
>
110 <Default
> 0 </Default
>
111 <DefaultValue
> </DefaultValue
>
114 <FieldName
> f2
</FieldName
>
116 <Length
> 11 </Length
>
117 <Primary
> 1 </Primary
>
119 <Default
> 0 </Default
>
120 <DefaultValue
> </DefaultValue
>
123 <FieldName
> f3
</FieldName
>
126 <Primary
> 0 </Primary
>
128 <Default
> 0 </Default
>
129 <DefaultValue
> </DefaultValue
>
132 <FieldName
> f4
</FieldName
>
135 <Primary
> 0 </Primary
>
137 <Default
> 0 </Default
>
138 <DefaultValue
> </DefaultValue
>
142 <TableName
> t4
</TableName
>
144 <FieldName
> f1
</FieldName
>
147 <Primary
> 0 </Primary
>
149 <Default
> 0 </Default
>
150 <DefaultValue
> </DefaultValue
>
153 </Table Information of all tables
>
154 <Index Information of all Indexs
>
155 <Index Name
> t2_idx1_Primary
</Index Name
>
156 <Index Type
> Hash Index
</Index Type
>
157 <Table Name
> t2
</Table Name
>
158 <Field Name
> f1
</Field Name
>
159 <Field Name
> f2
</Field Name
>
160 <Index Name
> ind
</Index Name
>
161 <Index Type
> Hash Index
</Index Type
>
162 <Table Name
> t2
</Table Name
>
163 <Field Name
> f1
</Field Name
>
164 <Index Name
> t1_idx1_Primary
</Index Name
>
165 <Index Type
> Hash Index
</Index Type
>
166 <Table Name
> t1
</Table Name
>
167 <Field Name
> f1
</Field Name
>
168 <Field Name
> f2
</Field Name
>
169 <Index Name
> indx1
</Index Name
>
170 <Index Type
> Hash Index
</Index Type
>
171 <Table Name
> t1
</Table Name
>
172 <Field Name
> f1
</Field Name
>
173 <Field Name
> f3
</Field Name
>
174 <Index Name
> indx2
</Index Name
>
175 <Index Type
> Hash Index
</Index Type
>
176 <Table Name
> t1
</Table Name
>
177 <Field Name
> f3
</Field Name
>
178 <Index Name
> indx3
</Index Name
>
179 <Index Type
> Hash Index
</Index Type
>
180 <Table Name
> t1
</Table Name
>
181 <Field Name
> f2
</Field Name
>
182 <Field Name
> f4
</Field Name
>
183 <Index Name
> indx4
</Index Name
>
184 <Index Type
> Hash Index
</Index Type
>
185 <Table Name
> t1
</Table Name
>
186 <Field Name
> f2
</Field Name
>
187 <Field Name
> f3
</Field Name
>
188 <Index Name
> indx5
</Index Name
>
189 <Index Type
> Hash Index
</Index Type
>
190 <Table Name
> t1
</Table Name
>
191 <Field Name
> f1
</Field Name
>
192 <Field Name
> f3
</Field Name
>
193 <Field Name
> f4
</Field Name
>
194 <Index Name
> indx6
</Index Name
>
195 <Index Type
> Hash Index
</Index Type
>
196 <Table Name
> t1
</Table Name
>
197 <Field Name
> f1
</Field Name
>
198 <Field Name
> f3
</Field Name
>
199 <Field Name
> f2
</Field Name
>
200 <Index Name
> indx7
</Index Name
>
201 <Index Type
> Hash Index
</Index Type
>
202 <Table Name
> t1
</Table Name
>
203 <Field Name
> f1
</Field Name
>
204 <Field Name
> f4
</Field Name
>
205 <Field Name
> f2
</Field Name
>
206 <Index Name
> t3_idx1_Primary
</Index Name
>
207 <Index Type
> Hash Index
</Index Type
>
208 <Table Name
> t3
</Table Name
>
209 <Field Name
> f1
</Field Name
>
210 <Field Name
> f2
</Field Name
>
211 <Index Name
> indx11
</Index Name
>
212 <Index Type
> Hash Index
</Index Type
>
213 <Table Name
> t3
</Table Name
>
214 <Field Name
> f1
</Field Name
>
215 <Field Name
> f3
</Field Name
>
216 <Index Name
> indx12
</Index Name
>
217 <Index Type
> Hash Index
</Index Type
>
218 <Table Name
> t3
</Table Name
>
219 <Field Name
> f3
</Field Name
>
220 <Index Name
> indx13
</Index Name
>
221 <Index Type
> Hash Index
</Index Type
>
222 <Table Name
> t3
</Table Name
>
223 <Field Name
> f2
</Field Name
>
224 <Field Name
> f4
</Field Name
>
225 <Index Name
> indx14
</Index Name
>
226 <Index Type
> Hash Index
</Index Type
>
227 <Table Name
> t3
</Table Name
>
228 <Field Name
> f2
</Field Name
>
229 <Field Name
> f3
</Field Name
>
230 <Index Name
> indx15
</Index Name
>
231 <Index Type
> Hash Index
</Index Type
>
232 <Table Name
> t3
</Table Name
>
233 <Field Name
> f1
</Field Name
>
234 <Field Name
> f3
</Field Name
>
235 <Field Name
> f4
</Field Name
>
236 <Index Name
> indx16
</Index Name
>
237 <Index Type
> Hash Index
</Index Type
>
238 <Table Name
> t3
</Table Name
>
239 <Field Name
> f1
</Field Name
>
240 <Field Name
> f3
</Field Name
>
241 <Field Name
> f2
</Field Name
>
242 <Index Name
> indx17
</Index Name
>
243 <Index Type
> Hash Index
</Index Type
>
244 <Table Name
> t3
</Table Name
>
245 <Field Name
> f1
</Field Name
>
246 <Field Name
> f4
</Field Name
>
247 <Field Name
> f2
</Field Name
>
248 </Index Information of all Indexs
>