Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)

  • RE: WEB PAGE and RECORDSET Problem

    make sure ur data types in your web page match the ones in your database.

    I would be able to help you further if tell me what application ur using to...

  • RE: date check before insert

    Thanks, I'll apply that and see if it works.

    thanks again.

  • RE: date check before insert

    I could use a stored procedure, but I dont know how i would code it, Im still a beginner at sql, so any help would be greatly appreciated

  • RE: Update function

    Thanks..I manages to get it working by using the insert into statements all at once, that eliminated all the nulls. I got another problem though. You guys will probably find...

  • RE: Update function

    Thanks for you input.

    The schedule table consists of columns that are identical to columns from several other tables.

    trainers.trainerID..........schedule.trainerID

    students.studentID.......schedule.studentID

    class.classID................schedule.classid

    branches.branchID........schedule.branchID

    course.courseID...........schedule.courseID

    Since I have entered values into the columns of the tables (trainers,students etc)

    I...

  • RE: Trigger for Inserting

    Thanks your suggestions. I've began to implement them.

    The branches table will not be modified much if at all, there probably only be about 30 - 50 entries into that table. When ...

  • RE: Trigger for Inserting

    attn: Grasshopper, here are the scripts for the 2 tables.

    Branches:

    if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_schedule_branches]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1)

    ALTER TABLE [dbo].[schedule] DROP CONSTRAINT FK_schedule_branches

    GO

    if exists...

  • RE: Trigger for Inserting

    Thanks for your contribution grasshopper.

    Let me explain a few things about my database.

    the database is going to be used as a scheduling sysyem for a collge that has branches...

  • RE: Trigger for Inserting

    attn: Enthusiast

    Your solution works fine, however when I try insert in other columns from the class table, I get an error message saying:

    Cannot insert the value NULL into column 'branchID'

    but...

  • RE: Trigger for Inserting

    Thanks, Your a super star. I can see where my code was wrong. Thanks again you saved me a lot of time

Viewing 10 posts - 1 through 10 (of 10 total)