Search Results

Showing results 1 to 40 of 60
Search took 0.01 seconds.
Search: Posts Made By: pclfw
Forum: PHP 23 Days Ago
Replies: 5
Views: 225
Posted By pclfw
have you done a mysql_connect()?
Forum: Database Design 23 Days Ago
Replies: 10
Views: 1,661
Posted By pclfw
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
Posted By pclfw
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
Posted By pclfw
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
Posted By pclfw
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
Posted By pclfw
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
Posted By pclfw
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
Posted By pclfw
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
Posted By pclfw
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
Posted By pclfw
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
Posted By pclfw
No Ramy, just my comments on the DB design in this thread.
Forum: Database Design Jan 23rd, 2009
Replies: 9
Views: 1,619
Posted By pclfw
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
Posted By pclfw
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
Posted By pclfw
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
Posted By pclfw
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
Posted By pclfw
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
Posted By pclfw
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
Posted By pclfw
This might help.

http://uk3.php.net/manual/en/book.xml.php
Forum: PHP Jan 9th, 2009
Replies: 4
Views: 476
Posted By pclfw
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
Posted By pclfw
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
Posted By pclfw
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
Posted By pclfw
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
Posted By pclfw
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
Posted By pclfw
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
Posted By pclfw
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
Posted By pclfw
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
Posted By pclfw
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
Posted By pclfw
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
Posted By pclfw
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
Solved: "Common" tables
Views: 998
Posted By pclfw
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
Posted By pclfw
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
Posted By pclfw
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
Posted By pclfw
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
Posted By pclfw
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
Posted By pclfw
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
Posted By pclfw
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
Posted By pclfw
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
Posted By pclfw
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
Posted By pclfw
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
Posted By pclfw
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...
Showing results 1 to 40 of 60

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC