Results 1 to 3 of 3

Thread: Query Not Working

  1. #1

    Thread Starter
    Hyperactive Member Arrow_Raider's Avatar
    Join Date
    Dec 2001
    Location
    AVR Lovers Club
    Posts
    423

    Query Not Working

    I am trying to runt he following query:

    Code:
    CREATE TABLE [Drivers] 
    ([IDnum] Integer PRIMARY KEY IDENTITY(1,1),
    [Team] Variant,
    [Week] Integer,
    [Driver] text,
    [Points Earned] Integer,
    [Finished] Integer)
    I recieve this error:
    Column or parameter #2: Cannot find data type Variant.

    This makes no sense, variant is a datatype.
    My monkey wearing the fedora points and laughs at you.

  2. #2
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496
    Variant is not a datatype in sql server..

  3. #3

    Thread Starter
    Hyperactive Member Arrow_Raider's Avatar
    Join Date
    Dec 2001
    Location
    AVR Lovers Club
    Posts
    423
    I already found out the problem, i had tried sqlvariant earlier and it didn't work and then i tried variant and it didn't work, what does work is sql_variant
    My monkey wearing the fedora points and laughs at you.

Posting Permissions

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



Click Here to Expand Forum to Full Width