Results 1 to 4 of 4

Thread: Unable to delete records from Two Joined table

  1. #1
    Join Date
    Oct 2008
    Posts
    100

    Unable to delete records from Two Joined table

    I have Emp_table1 and Emp_table2, they joined to each other I can flush records from one table to another table, but when I try to delete the records it does not do so? How do i need to do to delete records.

  2. #2
    Join Date
    Jan 2009
    Posts
    140

    Re: Unable to delete records from Two Joined table

    I recently researched if perhaps the database had some kind of lock or permission limits and I was able to turn on "autoshrink" in hopes to reduce the size, but I think I need to wait until the SQL server resets or something. You may try using the following code <input name="delete" type="Submit" value="Delete " onClick="if (!confirm(\'This cannot be undone!\')) return false">

    Just swap your submit button line for that

  3. #3
    Join Date
    Oct 2008
    Posts
    180

    Re: Unable to delete records from Two Joined table

    I would suggest that you may want to stop the Service Desk Service On the application server, clear the cache and start the service again. go to Query Analyzer, and set rowcount 1 delete from mytable .. where key1=..., key2=.. , key3=..this will get rid of one row only.

  4. #4
    Join Date
    Oct 2008
    Posts
    107

    Re: Unable to delete records from Two Joined table

    If you create the views through the the Views \ Customize or Views \ Define Views options in the client, the views are stored locally on your machine. Some front end tools (possibly including Enterprise Manager) cannot modify data in a table without a primary key, because they cannot know which row(s) they are affecting. If you created the views in the admin panel, the views would be stored in the database.

Similar Threads

  1. Replies: 3
    Last Post: 19-07-2010, 04:23 PM
  2. SQL Query For Copy records from one table to another
    By Bellamy in forum Software Development
    Replies: 4
    Last Post: 23-05-2010, 12:36 AM
  3. PHP mysql select unique records from one table
    By Captain Carrot in forum Software Development
    Replies: 6
    Last Post: 13-05-2010, 12:18 PM
  4. Select unique records from a table
    By Conraad in forum Software Development
    Replies: 5
    Last Post: 13-05-2010, 12:01 AM
  5. Replies: 3
    Last Post: 08-08-2009, 11:57 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,262,086.34422 seconds with 17 queries