Click here to Skip to main content
15,879,095 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL Server CE 3.5 AutoIncrement Pin
Searril15-Oct-08 3:53
Searril15-Oct-08 3:53 
GeneralRe: SQL Server CE 3.5 AutoIncrement Pin
Wendelius15-Oct-08 4:24
mentorWendelius15-Oct-08 4:24 
QuestionORA-01722 Error Pin
Rane14-Oct-08 2:04
Rane14-Oct-08 2:04 
AnswerRe: ORA-01722 Error Pin
Wendelius14-Oct-08 5:22
mentorWendelius14-Oct-08 5:22 
Questionhow to execute this oracle function ??? Pin
dilipmca0413-Oct-08 23:37
dilipmca0413-Oct-08 23:37 
AnswerRe: how to execute this oracle function ??? Pin
Wendelius14-Oct-08 5:05
mentorWendelius14-Oct-08 5:05 
QuestionDatabase design Questions? Pin
sepel13-Oct-08 23:23
sepel13-Oct-08 23:23 
AnswerRe: Database design Questions? Pin
bcozican14-Oct-08 2:09
bcozican14-Oct-08 2:09 
I would recommend you have a Member table and an Advertisement table on with a memberid field which is the member's id who uploaded the advert.

A VisitHistory table that contains the Advert id, member id and maybe datetime with foreign keys to the member and Advertisement tables.

A table with main categories like cars, mobiles, houses etc and then a table with subcategories with a parent id on it which will be the foreign key to the categories table that filters the subcategories for each category. That way you can have all these main categories with all their subcategories and easily add new ones if you want diffirent kinds of adds.

This is obviously high level without any indexes or anything but I hope you get the idea.

Hope this helps.
GeneralRe: Database design Questions? Pin
Mark Churchill14-Oct-08 2:42
Mark Churchill14-Oct-08 2:42 
QuestionQuery Help Pin
Jaffer Mumtaz13-Oct-08 20:20
Jaffer Mumtaz13-Oct-08 20:20 
AnswerRe: Query Help Pin
bcozican14-Oct-08 2:18
bcozican14-Oct-08 2:18 
GeneralRe: Query Help Pin
Jaffer Mumtaz14-Oct-08 18:41
Jaffer Mumtaz14-Oct-08 18:41 
QuestionMultiple columns in LIKE Pin
N a v a n e e t h13-Oct-08 15:58
N a v a n e e t h13-Oct-08 15:58 
AnswerRe: Multiple columns in LIKE Pin
Mycroft Holmes13-Oct-08 17:42
professionalMycroft Holmes13-Oct-08 17:42 
GeneralRe: Multiple columns in LIKE Pin
N a v a n e e t h13-Oct-08 19:23
N a v a n e e t h13-Oct-08 19:23 
GeneralRe: Multiple columns in LIKE Pin
Andrew Rissing14-Oct-08 6:43
Andrew Rissing14-Oct-08 6:43 
QuestionLoading column having $ sign to SQL Server... Pin
notes4we13-Oct-08 7:56
notes4we13-Oct-08 7:56 
AnswerRe: Loading column having $ sign to SQL Server... Pin
Wendelius13-Oct-08 9:22
mentorWendelius13-Oct-08 9:22 
QuestionArchiving a record Pin
Bolivarian13-Oct-08 7:07
Bolivarian13-Oct-08 7:07 
AnswerRe: Archiving a record Pin
Wendelius13-Oct-08 9:25
mentorWendelius13-Oct-08 9:25 
GeneralRe: Archiving a record Pin
Bolivarian14-Oct-08 0:12
Bolivarian14-Oct-08 0:12 
GeneralRe: Archiving a record Pin
Wendelius14-Oct-08 4:54
mentorWendelius14-Oct-08 4:54 
QuestionLEFT JOIN - GET ONLY ONE RESULT FROM RIGHT TABLE Pin
polishprogrammer13-Oct-08 7:05
polishprogrammer13-Oct-08 7:05 
AnswerRe: LEFT JOIN - GET ONLY ONE RESULT FROM RIGHT TABLE Pin
Wendelius13-Oct-08 7:36
mentorWendelius13-Oct-08 7:36 
GeneralRe: LEFT JOIN - GET ONLY ONE RESULT FROM RIGHT TABLE Pin
polishprogrammer13-Oct-08 11:01
polishprogrammer13-Oct-08 11:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.