Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2004
    Posts
    73

    Unanswered: Deleting from Stored Procedures

    I am trying to write a stored procedure to delete something from a table but I keep getting sytax error.

    This is the code I am using:

    Code:
    DELETE [tablename].[tablerow], [tablename].[tablerow]
    FROM [tablename]
    WHERE (((tablename.tablerow)="void"));
    This works as an Access query but not as a stored procedure.

  2. #2
    Join Date
    Nov 2002
    Location
    Jersey
    Posts
    10,322
    DELETE
    FROM [tablename]
    WHERE tablename.tablerow)='void'
    GO
    Brett
    8-)

    It's a Great Day for America everybody!

    dbforums Yak CorralRadio 'Rita
    dbForums Member List
    I'm Good Once as I ever was

    The physical order of data in a database has no meaning.

Posting Permissions

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