Results 1 to 3 of 3

Thread: Parameters

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2003
    Posts
    69

    Parameters

    Hi, When using Parameters in a select command for access you use,
    SELECT Fname, Lname FROM Customers WHERE Lname=?

    In Sql Server you use
    SELECT Fname, Lname FROM Customers WHERE Lname = @Lname

    Now I am using access so I use ? when upgrading to sql I will have to rewrite all of the commands not just change the connection string?

    Is there a Solution?

    Thanks For Your Help

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Access 2000 and higher supports named parameters.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jan 2003
    Posts
    69
    Thanks

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