Creating SQL Procedures using TDL

Discussion in 'Tally Developer' started by admin, Jun 6, 2012.

    
  1. admin

    admin Administrator Staff Member


    We can create a SQL procedures in Tally using TDL by adding "_" prefix to the collection name in the collection definition.

    Code:
    Syntax:
    [Collection  : _CollectionName]
    Sample TDL:
    Code:
    [Collection  : _LedBills]
    Type: Bills
    Child of : #UName
    SQLParms: UName
    SQLValues: Bill No : $Name
    SQLValues: Bill Date : $$String:$BillDate:UniversalDate
    
     


  2. mahadev loke

    mahadev loke New Member


    I would like to see working example of the above code.
     


  3. admin

    admin Administrator Staff Member


    If you are familiar with SQL Procudure.. use the above code and call it from SQL
     


  4. mahadev loke

    mahadev loke New Member


    I am very new to TDL. I want to see use of SQL Procedure. How to use it ?
     


  5. admin

    admin Administrator Staff Member


    It is not essential to learn this as a New TDL developer. You will get understand once you are become a basic TDL programmer. If we tell now also , you cannot understand.
     


  6. mahadev loke

    mahadev loke New Member


    I have done Basic TDL Programming in last month. If you can post one example, it will be great.
     


  7. admin

    admin Administrator Staff Member


    Do you know any other programming language with Database concepts?
     


  8. mahadev loke

    mahadev loke New Member


    I know asp.net, ms sql , vfoxpro, vb etc
     


  9. mohamed safiyullah

    mohamed safiyullah New Member


    Select $Name from Ledger,

    Select $Name from Groups
     


Share This Page