Ask a Question related to Dreamweaver AppDev, Design and Development.
-
tim-p #1
SQL Server update record T-SQL problems
Hi I'm developing an ASP app to be the new front end to an existing SQL Server
DB. The db lists Exhibitions, Venues and Organisers. Because it is a legacy db
there are tables which contain old data and I have taken the decision to delete
Exhibitions held 2 years ago or more. Now I want to tidy up the organisers
table so that all organisers who haven't organised one of the remaining current
exhibitions are flagged on the organising company table (tblCompany) so that
the data owner can decide whether they are redundant or not. I created a
sub-query which finds all companies still in tblExhibition, which I use in my
update stored procedure, but it doesn't update anything. Can anyone see what I
am doing wrong - SP sql below: UPDATE dbo.tblCompany SET
CoGrade = 'C' WHERE (NOT EXISTS (SELECT DISTINCT
dbo.tblCompany.CompanyID FROM
dbo.tblCompany INNER JOIN
dbo.tblExhibition ON dbo.tblCompany.CompanyID = dbo.tblExhibition.OrgCoID))
Thanks in advance for any suggestions.
tim-p Guest
-
Update Record Server Behavior Error
I've created a search page, result page, and update page that work together, but I cannot add the update record server behavior to my form. I've... -
Update a record
In my database, there are several tables, including patients and GPs. A GP can have several patients but a patient only one GP. I have created an... -
Newbie update record problems - PHP/MySQL
I'm trying to update a record in a MySQL database. This is supposed to join two separate table entries in a relational database. First, the... -
using dropdown box to display db record & update record
Hi Folks, I have a web database written in asp and using access97. I have many projects, but each project is being held responsible by a person.... -
Update existing From record with changes on new To record
I need to create a history record and update a current record from one input form. The two tables are joined with a query and the table names and...



Reply With Quote

