Ask a Question related to Informix, Design and Development.

  1. #1

    Default CASTING

    How could I compare two fields one of which is of integer type, the other is char?
    The version of the INFORMIX is 7.2.
    Thanks in advance.
    Anton Guest

  2. Similar Questions and Discussions

    1. web casting
      hi i'm looking for ext for DW for webcasting (appli with mysql-jsp and multimedia courses)
    2. casting question
      I have two base classes called ProxyFactory and Proxy. I extend them both with CustomProxyFactory and CustomProxy. ProxyFactory has a static...
    3. Ray Casting
      Is there an easy way to keep 2 objects the same distance from each other? I want the camera to cast a ray downward and move the camera up or down to...
    4. Casting a grid
      I have a web form with several grids on it, and a procedure that cycles through each grid to do a number of tasks, using for next, and am getting a...
    5. Casting a Shadow..
      Mindy Bollinger wrote: Like this? <http://www.photoshoptoday.com/Tutorials2002/Nov/PSBetterSpotS/default.asp> -- Regards Madsen.
  3. #2

    Default Re: CASTING

    On Tue, 15 Jul 2003 02:52:54 -0400, Anton wrote:
    > How could I compare two fields one of which is of integer type, the
    > other is char? The version of the INFORMIX is 7.2. Thanks in advance.
    Where? In an SQL statement? If the char column only contains numeric
    characters you can compare the two columns directly the engine will
    decide the most efficient conversion (char->int or int->char) for the
    comparison based on the tables and statistics. In 9.xx you can use a
    cast:


    WHERE char_col = CHAR::int_col

    Art S. Kagel
    Art S. Kagel Guest

  4. #3

    Default Casting

    Does anyone know of way in ASP to cast an integer to a string?

    Thanks,
    Melissa


    Melissa Guest

  5. #4

    Default Re: Casting

    cstr(x)

    On Wed, 22 Oct 2003 19:50:30 -0700, "Melissa" <mc1204@hotmail.com>
    wrote:
    >Does anyone know of way in ASP to cast an integer to a string?
    >
    >Thanks,
    >Melissa
    >
    Dan Brussee Guest

  6. #5

    Default Re: Casting

    What language?

    For VBScript use
    CStr(num)

    --
    Mark Schupp
    Head of Development
    Integrity eLearning
    [url]www.ielearning.com[/url]


    "Melissa" <mc1204@hotmail.com> wrote in message
    news:_lHlb.33354$Rd4.25812@fed1read07...
    > Does anyone know of way in ASP to cast an integer to a string?
    >
    > Thanks,
    > Melissa
    >
    >

    Mark Schupp 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