ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:dictionary:createindexsql

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
dictionary:createindexsql [2015/08/29 16:10] mnewnhamv5:dictionary:createindexsql [2016/01/13 02:06] – ↷ Page moved from dictionary:createindexsql to v5:dictionary:createindexsql mnewnham
Line 1: Line 1:
 ====== createIndexSql ====== ====== createIndexSql ======
-<WRAP todo> 
-Add usage example 
-</WRAP> 
 ~~NOTOC~~ ~~NOTOC~~
 <WRAP right box> <WRAP right box>
Line 40: Line 37:
 ===== Usage ===== ===== Usage =====
 <code php> <code php>
 +
 +$dict = NewDataDictionary($db);
 +$sqlarray = $dict->createIndexSql('SALESIDX','ACT', 'ACTMAXSALE,ACTNO');
 +print_r($sqlarray);
 +/*
 +* prints
 +*
 +Array
 +(
 +    [0] => CREATE INDEX SALESIDX ON ACT (ACTMAXSALE, ACTNO)
 +)
 +*/
 </code> </code>
  
v5/dictionary/createindexsql.txt · Last modified: 2016/01/13 02:06 by mnewnham