Viewing 15 posts - 1 through 15 (of 17 total)
Hi Greg,
I found it while right clicking on the Server name.
Thanks for the help
Mike
October 24, 2008 at 9:23 am
That great to know, thanks for your help!
October 24, 2008 at 9:21 am
I was just looking for the SQL syntax to create the table format
March 21, 2008 at 4:25 am
Getting an error
mysql> CREATE TABLE `product` (
`Producttype` varchar(4) collate latin1_general_ci default NULL,
`ProductName` varchar(80) collate latin1_general_ci default NULL,
`ProductNo` decimal(50,0) primary key identity (1,1),
...
March 20, 2008 at 5:59 pm
Im not too sure why we use SELECT 1, could you explain to me what this does??
March 13, 2008 at 4:07 pm
No, SSN is now the primary key as I change the structure.
Thanks for you help
March 13, 2008 at 2:24 am
Im getting the following error for the code
CREATE TRIGGER trg_PreventInvalidHours ON Works_On AFTER UPDATE AS
IF EXISTS (SELECT 1 FROM inserted i inner join deleted d
on i.ESSN = d.ESSN WHERE...
March 12, 2008 at 10:32 am
Sorry my mistake
SSN is the Primary Key while ESSN is a forign key
March 12, 2008 at 3:51 am
Oh ok, thanks for your help
So in your code
SELECT 1 FROM inserted i inner join deleted d on i.Primary Key Column = d.Primary Key Column
I should just replace...
March 12, 2008 at 3:30 am
Would that be the complete code that i need or do i have to adjust it?
Where could I insert an error msg like:
INSERT INTO Errormessages 9message)
SELECT 'Working Hours reduction not...
March 12, 2008 at 3:15 am
Thats great, I'll have a play around with that tonight.
Thanks for all your help
March 11, 2008 at 5:59 am
No I know that I was just wondering if it was posible to code a confirmation msgbox to to show the user that the action has taken place
March 11, 2008 at 4:35 am
Thsts a great help guys as I was just using 'ssn' and couldnt figure out why it wasnt deleting.
I like the statment
IF @@Error <> 0
BEGIN
RAISERROR 50001 ' Error...
March 11, 2008 at 12:40 am
Hi Kev,
Its not an assignment its just some lab work Im doing today at 1. Thanks for the pointers though. It makes things a little clearer in my head
Two...
March 7, 2008 at 4:01 am
Im forced to just use the TRIGGER for the question im being asked
March 6, 2008 at 3:06 pm
Viewing 15 posts - 1 through 15 (of 17 total)