Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Recordset Help

    Hey all,
    I am wondering if someone could help me create an SQL query for a recordset I
    am building.
    I have a database with many tables. In one table, records are inserted by a
    program, and the other tables are for references. What I am trying to do is
    take a column (ex. utilites) that has this string it it- (235,365,5, 11, etc)
    and convert it to a Feature (ex. Water, Electricity) The Feature Table has 2
    columns, the numbers, and the value (or feature).

    How can I write the SQL to take the 235,365,5,11 and convert it to my Feature
    value?

    Thanks ahead if someone can answer this.

    LiquidD33 Guest

  2. Similar Questions and Discussions

    1. ASP Recordset Help!
      Hi, I have been trying to construct a results page in dreamweaver/asp if i put a search in with one parameter it works fine (ie, select name from...
    2. Using a Recordset
      I'm trying to expand my web design skills by learning how to include some dynamic content in a site. Currently I have an Access database, and...
    3. Is this possible with a recordset?
      Hello, Looking for some expert help. I am using Dreamweaver MX 2004. I have a need that I was wondering if it was possible accomplish using a...
    4. ADO - Recordset
      I was wondering if anyone can help me. I've converting an already existing system (designed in Access which produces reports for the accounts dept)...
    5. RecordSet.Move or RecordSet.AbsolutePosition??
      Hi, I'm trying to use either one of these methods to position the cursor in a specific position inside a recordset, but neither one seems to...
  3. #2

    Default Re: Recordset Help

    Create a look up table (LOOK) within the database with 2 columns -- one will
    be: utlSTR and the other will be: featureSTR.

    Column utlSTR = 235
    Column featureSTR = Water


    --------------------------------------------------------------------------------
    -------------
    So, SELECT * FROM LOOK, SOMEOTHERTABLE WHERE LOOK.utlSTR = SOMETABLE.utlSTR
    and featureSTR = 'Water'

    --------------------------------------------------------------------------------
    -------------

    Does that help?


    brownd1 Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139