Click here to Skip to main content
15,911,762 members
Home / Discussions / Database
   

Database

 
GeneralRe: Joining 4 Tables Pin
ASPnoob28-Aug-12 21:45
ASPnoob28-Aug-12 21:45 
GeneralRe: Joining 4 Tables Pin
Mycroft Holmes28-Aug-12 23:15
professionalMycroft Holmes28-Aug-12 23:15 
AnswerRe: Joining 4 Tables Pin
Karthik J, Coimbatore28-Aug-12 23:33
Karthik J, Coimbatore28-Aug-12 23:33 
Questioncannot add or change a record Pin
ASPnoob24-Aug-12 16:52
ASPnoob24-Aug-12 16:52 
AnswerRe: cannot add or change a record Pin
Eddy Vluggen24-Aug-12 22:08
professionalEddy Vluggen24-Aug-12 22:08 
GeneralRe: cannot add or change a record Pin
ASPnoob24-Aug-12 22:16
ASPnoob24-Aug-12 22:16 
GeneralRe: cannot add or change a record Pin
Eddy Vluggen24-Aug-12 22:21
professionalEddy Vluggen24-Aug-12 22:21 
AnswerRe: cannot add or change a record Pin
PIEBALDconsult25-Aug-12 4:57
mvePIEBALDconsult25-Aug-12 4:57 
When I wrote something similar a few years back, I created Artist and Title tables and a PlayList table to allow many-to-many relationships between them because a song may be performed by multiple artists.

C:\Projects\KCDXlogger>dbt kcdx "describe Artist ; describe Title ; describe Playlist
DBT  V6.0 -- Simple SQL interface                  Sir John E. Boucher 2003

describe Artist

Name Type1         Type2                Nullable Unique Read only
---- ------------- -------------------- -------- ------ ---------
Id   System.Guid   DBTYPE_GUID          True     False  False
Name System.String DBTYPE_WVARCHAR(255) True     False  False


2 records affected.


describe Title

Name Type1         Type2                Nullable Unique Read only
---- ------------- -------------------- -------- ------ ---------
Id   System.Guid   DBTYPE_GUID          True     False  False
Name System.String DBTYPE_WVARCHAR(255) True     False  False


2 records affected.


describe Playlist

Name     Type1           Type2                Nullable Unique Read only
-------- --------------- -------------------- -------- ------ ---------
CreTim   System.DateTime DBTYPE_DATE          True     False  False
Text     System.String   DBTYPE_WVARCHAR(255) True     False  False
PlaTim   System.DateTime DBTYPE_DATE          True     False  False
ArtistId System.Guid     DBTYPE_GUID          True     False  False
TitleId  System.Guid     DBTYPE_GUID          True     False  False


5 records affected.

GeneralRe: cannot add or change a record Pin
ASPnoob26-Aug-12 10:44
ASPnoob26-Aug-12 10:44 
GeneralRe: cannot add or change a record Pin
PIEBALDconsult26-Aug-12 17:10
mvePIEBALDconsult26-Aug-12 17:10 
GeneralRe: cannot add or change a record Pin
Shameel27-Aug-12 23:44
professionalShameel27-Aug-12 23:44 
JokeRe: cannot add or change a record Pin
Eddy Vluggen28-Aug-12 0:17
professionalEddy Vluggen28-Aug-12 0:17 
GeneralRe: cannot add or change a record Pin
Shameel28-Aug-12 0:35
professionalShameel28-Aug-12 0:35 
GeneralRe: cannot add or change a record Pin
PIEBALDconsult28-Aug-12 3:16
mvePIEBALDconsult28-Aug-12 3:16 
GeneralRe: cannot add or change a record Pin
PIEBALDconsult28-Aug-12 3:14
mvePIEBALDconsult28-Aug-12 3:14 
QuestionMy SQl error while sending to database Pin
Inderjeet Kaur23-Aug-12 20:25
Inderjeet Kaur23-Aug-12 20:25 
AnswerRe: My SQl error while sending to database Pin
Shameel23-Aug-12 21:05
professionalShameel23-Aug-12 21:05 
GeneralRe: My SQl error while sending to database Pin
Inderjeet Kaur23-Aug-12 21:21
Inderjeet Kaur23-Aug-12 21:21 
GeneralRe: My SQl error while sending to database Pin
Shameel23-Aug-12 23:31
professionalShameel23-Aug-12 23:31 
AnswerRe: My SQl error while sending to database Pin
PIEBALDconsult24-Aug-12 3:41
mvePIEBALDconsult24-Aug-12 3:41 
GeneralRe: My SQl error while sending to database Pin
Eddy Vluggen24-Aug-12 5:22
professionalEddy Vluggen24-Aug-12 5:22 
Questionhow to start Schema design? Pin
HimanshuForever23-Aug-12 19:03
HimanshuForever23-Aug-12 19:03 
AnswerRe: how to start Schema design? Pin
Niladri_Biswas23-Aug-12 19:21
Niladri_Biswas23-Aug-12 19:21 
GeneralRe: how to start Schema design? Pin
HimanshuForever23-Aug-12 19:31
HimanshuForever23-Aug-12 19:31 
GeneralRe: how to start Schema design? Pin
Niladri_Biswas23-Aug-12 19:58
Niladri_Biswas23-Aug-12 19:58 

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.