sql=access=datatypes?

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default sql=access=datatypes?

    What would be the corresponding data types for the following existing Access
    data types:

    Autonumber = (UniqueIdentifier?)
    Number = (int?Numeric?)
    Yes/No = (?)

    Thanks...I am trying to convert an access table into an sql server table but
    this is my first attempt...sql server seems to have much broader data type
    range than access.

    Rgds
    Jason


    Guest

  2. Similar Questions and Discussions

    1. Converting Datatypes
      Hi, I need to change a varchar field in my DB to a small date/time field. The problem is I don't want to lose the data, as I have quite a lot of...
    2. Complex DataTypes
      Ok, I created a Web Service using PHP5 SOAP extension. I created the WSDL and I can serve and consume that service in PHP. Now I am trying to...
    3. Service with 'shared' datatypes
      Hello NG, I need to write a factory where I be able to switch between webservice support and normal dll support. So I wrote a small test...
    4. Custom Datatypes and how to get rid of ArrayOfAnyType.
      I am writing a Web Service, using ASP.NET. I have two different collections in a separate DLL, which I want to return from two different WebMethods...
    5. Datatypes in Informix
      Hi, I am trying to obtain an extract of my Informix database into a formatted spreadsheet. The information of the fields in a table is...
  3. #2

    Default Re: sql=access=datatypes?

    Found a possible site to answer my own question:
    [url]http://www.schemamania.org/jkl/booksonline/SQLBOL70/html/2_005_64.htm[/url]

    Appreciate any other advice on conversions...

    ps: would you advice using the RS.Addnew method for a sql server database or
    should I adjust code to INSERT?

    <jason@catamaranco.com> wrote in message
    news:ejxcUoZdEHA.320@TK2MSFTNGP10.phx.gbl...
    > What would be the corresponding data types for the following existing
    Access
    > data types:
    >
    > Autonumber = (UniqueIdentifier?)
    > Number = (int?Numeric?)
    > Yes/No = (?)
    >
    > Thanks...I am trying to convert an access table into an sql server table
    but
    > this is my first attempt...sql server seems to have much broader data type
    > range than access.
    >
    > Rgds
    > Jason
    >
    >

    Guest

  4. #3

    Default Re: sql=access=datatypes?

    You should probably read this article in full:
    [url]http://www.aspfaq.com/2214[/url]

    --
    [url]http://www.aspfaq.com/[/url]
    (Reverse address to reply.)




    <jason@catamaranco.com> wrote in message
    news:ejxcUoZdEHA.320@TK2MSFTNGP10.phx.gbl...
    > What would be the corresponding data types for the following existing
    Access
    > data types:
    >
    > Autonumber = (UniqueIdentifier?)
    > Number = (int?Numeric?)
    > Yes/No = (?)
    >
    > Thanks...I am trying to convert an access table into an sql server table
    but
    > this is my first attempt...sql server seems to have much broader data type
    > range than access.
    >
    > Rgds
    > Jason
    >
    >

    Aaron [SQL Server MVP] Guest

  5. #4

    Default Re: sql=access=datatypes?

    Perfect! Thanks!
    "Aaron [SQL Server MVP]" <ten.xoc@dnartreb.noraa> wrote in message
    news:uDM9jwZdEHA.2376@tk2msftngp13.phx.gbl...
    > You should probably read this article in full:
    > [url]http://www.aspfaq.com/2214[/url]
    >
    > --
    > [url]http://www.aspfaq.com/[/url]
    > (Reverse address to reply.)
    >
    >
    >
    >
    > <jason@catamaranco.com> wrote in message
    > news:ejxcUoZdEHA.320@TK2MSFTNGP10.phx.gbl...
    > > What would be the corresponding data types for the following existing
    > Access
    > > data types:
    > >
    > > Autonumber = (UniqueIdentifier?)
    > > Number = (int?Numeric?)
    > > Yes/No = (?)
    > >
    > > Thanks...I am trying to convert an access table into an sql server table
    > but
    > > this is my first attempt...sql server seems to have much broader data
    type
    > > range than access.
    > >
    > > Rgds
    > > Jason
    > >
    > >
    >
    >

    Guest

  6. #5

    Default Re: sql=access=datatypes?

    > ps: would you advice using the RS.Addnew method for a sql server database
    or
    > should I adjust code to INSERT?
    Use INSERT.
    [url]http://www.aspfaq.com/2191[/url]


    Aaron [SQL Server MVP] 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