Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

create index with cast

Status
Not open for further replies.

jennyflower

Programmer
Oct 10, 2006
60
GB
Hi, I was just wondering if I am able to do someting like this:

CREATE INDEX v_cust_no ON order_header USING btree ((h_cust_no::integer));

Or this:

CREATE INDEX l_unique ON order_line_item USING btree ((text(l_order_no) || text(l_item_no)));

in MySQL.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top