Results 1 to 1 of 1
  1. #1
    workindan is offline Novice
    Windows XP Access 2003
    Join Date
    Jun 2010
    Posts
    8

    Oracle table name exceeds 30 char?

    I'm running sql in vba, doing a simple select/from, but the table name is 35 characters long.

    I'm working in access 2010 and have a table linked to an oracle db.
    The table name, before importing, was (10char).(25char)
    After importing, access named it to (10char)_(25char) or (35char)

    Basically, the table name before importing was listed as "edw_prod.mth_customer_coverage_plan " during the link table wizard, and after linking it was named "edw_prod_mth_customer_coverage_plan " in access.

    Here's my code:

    tmpStr = "SELECT inquiry_cov_src_cust_id, src_cust_id " & _
    "FROM ccp_service_ccp_inquiry c, edw_prod_mth_customer_coverage_plan p " & _
    "WHERE c.inquiry_cov_src_cust_id = p.src_cust_id " & _
    "AND p.cov_plan_eff_date > '1/1/2010';"

    adoCmd.CommandText = tmpStr
    Set adoData = adoCmd.Execute



    In my sql statement, am I to refer to the table by it's full length or after the period? This is my first time linking an oracle table via access.
    Last edited by workindan; 12-08-2010 at 03:03 PM. Reason: was missing code

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Getting first Char form a Field
    By newtoAccess in forum Access
    Replies: 3
    Last Post: 10-28-2010, 10:29 AM
  2. Replies: 6
    Last Post: 04-30-2010, 01:57 PM
  3. 8000 char max for memo?
    By okerix in forum Access
    Replies: 0
    Last Post: 04-29-2010, 08:55 AM
  4. Oracle password
    By thart21 in forum Programming
    Replies: 0
    Last Post: 04-06-2010, 10:12 AM
  5. Oracle Discoverer to MS Access
    By money_213 in forum Import/Export Data
    Replies: 0
    Last Post: 06-27-2006, 12:43 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums