Results 1 to 4 of 4

Thread: How to update two database tables coldfusion

  1. #1
    Join Date
    Aug 2008
    Posts
    129

    How to update two database tables coldfusion

    I have two tables - One contains a list of all the zip codes in the India. and the other table contains a mailing list containing addresses of people both inside and outside of the India, when I run the query, it times out. As a matter of fact, I've created two queries, they both work the same and get the same test results, The base values that is zip code are stored in one table and the address values in another.

  2. #2
    Join Date
    Oct 2008
    Posts
    180

    Re: How to update two database tables coldfusion

    You need to have the like this set up for your Two tables, Database integration is a hallmark of ColdFusion applications.

    BASE_VALUES
    ------------------
    BASE_VALUE_PIN_CODE
    BASE_VALUE_STATE_NAME

    RESOURCE_VALUES
    -----------------------
    RESOURCE_KEY
    RESOURCE_STATE_ID
    RESOURCE_STATE_ADDRESS

    here you need to retrieve one base value, and all corresponding translation values that match that base value, export them to excel, and then re-load them via an update.

  3. #3
    Join Date
    Feb 2008
    Posts
    129

    Re: How to update two database tables coldfusion

    Here's an updated revisal of what I would LIKE the query to do, but obviously does not do since I actually need the values of the joined table, There is an inherent simplicity and flexibility to being able to create database queries on the fly, so as to be able to refer to column names to work with results.

  4. #4
    Join Date
    Jan 2006
    Posts
    6,878

    Re: How to update two database tables coldfusion

    There is also a resource key that matches each "Item Description" to a single "Item Desc in other Language". There's also a real downside to this type of database integration. After all, consider what would happen to your code if a table name changed, or if columns were refactored and split, or if whole schemas were updated.The only time they are ever going to see each other is during this translation process, all other times the values may be different.

Similar Threads

  1. Why is a tables in a database alisased ?
    By Vaikuntam in forum Software Development
    Replies: 4
    Last Post: 07-01-2011, 06:18 AM
  2. How to create MySQL Database and Tables in PHP?
    By Orton in forum Software Development
    Replies: 4
    Last Post: 23-02-2010, 06:45 AM
  3. External Tables in database
    By Cayden in forum Software Development
    Replies: 4
    Last Post: 17-02-2010, 11:02 PM
  4. Dummy tables in oracle database
    By Norse in forum Software Development
    Replies: 4
    Last Post: 08-02-2010, 09:55 PM
  5. Search text in database using Coldfusion
    By ABDUL KAREEM in forum Software Development
    Replies: 3
    Last Post: 05-11-2009, 12:53 PM

Tags for this Thread

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
  •  
Page generated in 1,713,899,266.33950 seconds with 17 queries