Forum: PHP 23 Days Ago |
| Replies: 5 Views: 225 have you done a mysql_connect()? |
Forum: Database Design 23 Days Ago |
| Replies: 10 Views: 1,661 And if you continue with this level of selfmotivation you aren't going to finish the year.
If you ask a specific question the people here will gladly reply. And you will get the benefit of years... |
Forum: Database Design 23 Days Ago |
| Replies: 3 Views: 480 Have a look through this http://www.geekgirls.com/databases_from_scratch_1.htm
Very good intro to DB design. |
Forum: Database Design Feb 27th, 2009 |
| Replies: 4 Views: 756 Your hair's a mess and your shoes don't go with your trousers. And when DID you think that that tie went with that shirt! :) |
Forum: Database Design Feb 27th, 2009 |
| Replies: 10 Views: 2,710 Simple pragmatic rule.
1) He's the boss.
2) If he's wrong refer to rule 1. |
Forum: MS SQL Jan 27th, 2009 |
| Replies: 4 Views: 867 Ramy,
The full range of skills needed to become a proficient Senior DBA do not appear in any book that I have read so far.
The basic skills you should have been taught during your BSc. Refine... |
Forum: MS SQL Jan 26th, 2009 |
| Replies: 4 Views: 867 Ramy,
Without being facecious -
1) Remember you NEVER STOP LEARNING!
2) Buy Books on the subject and on the tools you are using. READ them all from cover to cover. Make notes in the margins and... |
Forum: Database Design Jan 26th, 2009 |
| Replies: 2 Views: 736 1) First normal form removes repeating items. http://en.wikipedia.org/wiki/First_normal_form Here the repeating items can be OwnerContact (an owner may have a number of different contact details),... |
Forum: Database Design Jan 25th, 2009 |
| Replies: 9 Views: 1,619 Sorry Ramy but you have some way to go before you become a fully skilled DBA. From reading your posts you have learned the fundamentals very well. You now need to get into a company position with an... |
Forum: Database Design Jan 25th, 2009 |
| Replies: 3 Views: 616 1) First Normal Form - http://en.wikipedia.org/wiki/First_normal_form
To get to FNF we have to remove the repeating fields. Current Country,Current Region,Current Site,Current Locale Start... |
Forum: Database Design Jan 25th, 2009 |
| Replies: 9 Views: 1,619 No Ramy, just my comments on the DB design in this thread. |
Forum: Database Design Jan 23rd, 2009 |
| Replies: 9 Views: 1,619 I have a number of points here.
1) If each row in the EMPLOYEE_WORK table has a ROWID IDENTITY column (or similar) then you don't need the date column. INT columns are smaller that DATETIMES as... |
Forum: MS SQL Jan 23rd, 2009 |
| Replies: 4 Views: 1,266 I am making an assumption or two here, such as LOGID, your primary key, is an IDENTITY column or similar, so try this
SELECT e.logid, e.eventid, e.description, e.logtime,
l.logid, l.eventid,... |
Forum: PHP Jan 16th, 2009 |
| Replies: 5 Views: 1,651 it2051229
You forgot "EXPENSIVE"
"That means you're going to read EXPENSIVE thick books."
And lots and lots of them.
And you'll need to buy them for your self because of all of the notes... |
Forum: MS SQL Jan 16th, 2009 |
| Replies: 3 Views: 511 You have two options, both explained in books on line.
1) UPGRADE the server. This will upgrade your server from 2000 to 2005. It is a one way move and the whole server is changed. There is no... |
Forum: MS SQL Jan 15th, 2009 |
| Replies: 4 Views: 933 Ramy,
What you have described is CLIENT / SERVER architecture. Distributed Database Program Development "sounds" like something else.
Sarah,
Please could you expand your definition of... |
Forum: PHP Jan 9th, 2009 |
| Replies: 5 Views: 694 PHP will allow you to format the display of data in any format that you can think of.
Remember that you are taking data out of an array and placing it into holders, usually columnar but they can... |
Forum: PHP Jan 9th, 2009 |
| Replies: 1 Views: 752 This might help.
http://uk3.php.net/manual/en/book.xml.php |
Forum: PHP Jan 9th, 2009 |
| Replies: 4 Views: 476 I have about 6 books on PHP, all used while learning and using PHP for web development.
Two sitting at my right hand now are "SAMS - PHP5 Unleashed" (£35.99) and "Advanced PHP Programming" (36.50)... |
Forum: PHP Jan 9th, 2009 |
| Replies: 12 Views: 3,165 Well now my go.
I have done something very very similar.
No you cannot have the code. It is MUCH MORE FUN it you work it out for your self.
For a start something that the previous posters... |
Forum: PHP Jan 9th, 2009 |
| Replies: 10 Views: 4,836 I have never used the WAMP server. But I have installed Apache 2.2, MySQL & PHP onto an XP machine and a LINUX (debian) box. The Linux machine was a whole load easier to install. :)
Let me know if... |
Forum: Database Design Jan 9th, 2009 |
| Replies: 2 Views: 1,441 Now that is quite a good question.
Does the data about the stock belong (totally) to the book itself? Or is the concept of STOCK a seperate item?
The data could go in a number of places, but... |
Forum: Database Design Jan 9th, 2009 |
| Replies: 2 Views: 1,212 Normalization is actually fairly simple. To convert data from one form to another you apply a single, simple, rule to that data. To move to the next level of normalization apply the next rule etc.... |
Forum: Database Design Jan 9th, 2009 |
| Replies: 3 Views: 2,625 You include ROOM_PRICE in the ROOMS table and the ROOM_TYPE table. It should only appear in one of these.
The choice is yours. ROOM gives precise control over room pricing, ROOM_TYPE gives easier... |
Forum: Database Design Jan 9th, 2009 |
| Replies: 1 Views: 907 Originally I thought that this was in the wrong forum. But I was wrong.
Your query regarding the foreign key violations should be fairly trivial if you trace back through all of the tables... |
Forum: Database Design Jan 9th, 2009 |
| Replies: 1 Views: 914 To answer a quick question, I cannot understand why you think that you need to de-normalise the data.
An ERD is (or should be) created BEFORE the database. The DB definitions are based upon the... |
Forum: Database Design Jan 9th, 2009 |
| Replies: 3 Views: 839 Let me get this straight.
You're a TECHNOPHOBE doing a DEGREE course with a large COMPUTING involvement and you want US (who are TECHNOPHILES and [mostly] have finished our degrees) to do this... |
Forum: Database Design Jan 9th, 2009 |
| Replies: 2 Views: 997 This type of question can most easily be answered by normalising the data.
Correct nomalisation will show which of these entities 'owns' the others. For instance Can a CASE have more than one... |
Forum: Database Design Jan 9th, 2009 |
| Replies: 2 Views: 598 I agree with Ramy.
The way your question is worded the only answer we can give is MAYBE. :) |
Forum: Database Design Jan 9th, 2009 |
| Replies: 2 Views: 998 I have used this style of table reuse before and always handled the releationships in the application.
As you say if you try to set foreign key relationships from either the COMPANY or CONTACT... |
Forum: Database Design Jan 9th, 2009 |
| Replies: 1 Views: 651 I don't think that you've actually asked the right question. The answer to the question that you have asked is "What ever you want to." |
Forum: MS SQL Jan 9th, 2009 |
| Replies: 6 Views: 881 I think that it needs to be pointed out here that the MASTER database should NEVER be used to hold user entities. Niether sould ANY of the other SYSTEM databases (MSDB, TEMPDB).
MS often changes... |
Forum: MS SQL Jan 7th, 2009 |
| Replies: 9 Views: 923 Ramy,
I tried this and it does not run.
You cannot just concatonate local variables and literals and expect them to combine into another literal.
The best that you could do is to set a char... |
Forum: MS SQL Jun 19th, 2008 |
| Replies: 13 Views: 5,752 I can see why there is confusion about what you want from your data and precisely what is in the tables.
Possibly a different way of looking at the data could be -
SELECT... |
Forum: MS SQL Jun 19th, 2008 |
| Replies: 2 Views: 1,063 You might like to have a look at MSSQLs MAKEWEBTASK function. Using this you can create the whole MySQL insert code for each table. It could save you the bother of having to reprocess the data from... |
Forum: MS SQL Jun 19th, 2008 |
| Replies: 2 Views: 2,087 XML has a huge overhead in the textual naming of the entities. Also it is not meant to be humad readable, it is a transport medium. Store the data in a database, the DB overheads will be trivial... |
Forum: IT Professionals' Lounge Mar 1st, 2008 |
| Replies: 11 Views: 4,935 I am sure that all programmers have had some one tell them that programming is easy because they have use access (or something) and there was no problems. Well being a DBA is much more that just... |
Forum: Database Design Jan 25th, 2008 |
| Replies: 1 Views: 1,892 This is going to be very difficult to do as you do not give any user requirements.
MS Access has sample templates which, I believe, provide an attendance monitoring DB and a material (asset?)... |
Forum: MS SQL Jan 25th, 2008 |
| Replies: 3 Views: 1,213 And have a word with the company solicitor with regard to prosecuting the previous database manager under the computer misuse act. |
Forum: MS SQL Jan 25th, 2008 |
| Replies: 2 Views: 4,111 From a SQL client point of view there is very little difference.
The management side is completely changed. The Data Transformation Service (DTS) system has been replaces by the SQL System... |