Results 1 to 2 of 2

Thread: Inserting Accounts from SQL

  1. #1
    Mikeyg79 is offline Junior Member
    Join Date
    Sep 2008
    Posts
    1

    Default Inserting Accounts from SQL

    I'm trying to setup a demo of SugarCRM for the head of support at my company. What I'd like to do is pull our client data from a junky FileMaker database (I've done this already) and insert it into the SugarCRM database.
    I think I can do it just fine, but I don't know how the unique IDs are created. Anyone have that little routine handy?

  2. #2
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: Inserting Accounts from SQL

    As an example:
    INSERT INTO sugarcrm.prospect_lists_prospects(
    id,
    prospect_list_id,
    related_id,
    related_type,
    date_modified,
    deleted
    )
    SELECT uuid( ) , '1092bfe6-314b-a3e8-c10a-4810863c6943', sugarcrm.leads_view1.id, 'Leads', now( ) , 0
    FROM sugarcrm.leads_view1
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 10
    Last Post: 2008-06-16, 08:35 AM
  2. Replies: 1
    Last Post: 2008-02-22, 04:25 PM
  3. Replies: 1
    Last Post: 2006-09-11, 03:38 PM
  4. Replies: 5
    Last Post: 2005-12-07, 05:25 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •