TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


engine:import:addtranslationfromsql

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
engine:import:addtranslationfromsql [2020/03/05 01:39] – [Example] Scott Cunliffeengine:import:addtranslationfromsql [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 8: Line 8:
 ''AddTranslationFromSQL(field, sql);'' ''AddTranslationFromSQL(field, sql);''
  
-//string field;//\\ +^ Variable ^ Type ^ Description ^ Min Length ^ Max Length ^ 
-//string sql;//\\ +|field| String | The field to be translated.|1|128
- +|sql| String | An SQL query to run to extract translation pairs.|1|256|
-|field| The field to be translated.| +
-|sql| An SQL query to run to extract translation pairs.|+
  
 ==== Example ==== ==== Example ====
 AddTranslationFromSQL: Translate based on the values in a table. AddTranslationFromSQL: Translate based on the values in a table.
  
-<sxh>+<code>
 AddTranslationFromSQL(VOLUME, "SELECT volume,barcode FROM barcodetable"); AddTranslationFromSQL(VOLUME, "SELECT volume,barcode FROM barcodetable");
-</sxh>+</code>
  
 ===== See Also ===== ===== See Also =====
engine/import/addtranslationfromsql.1583372356.txt.gz · Last modified: 2025/01/21 22:07 (external edit)