Click here to Skip to main content
15,891,673 members
Home / Discussions / Database
   

Database

 
GeneralDeleting all record from Database Table with ADO.NET Pin
Gary Hyslop6-May-04 4:06
Gary Hyslop6-May-04 4:06 
GeneralRe: Deleting all record from Database Table with ADO.NET Pin
Mazdak6-May-04 6:47
Mazdak6-May-04 6:47 
GeneralRe: Deleting all record from Database Table with ADO.NET Pin
Chris Meech6-May-04 9:17
Chris Meech6-May-04 9:17 
GeneralRe: Deleting all record from Database Table with ADO.NET Pin
Guillermo Rivero6-May-04 10:05
Guillermo Rivero6-May-04 10:05 
GeneralRe: Deleting all record from Database Table with ADO.NET Pin
-Dr_X-8-May-04 15:50
-Dr_X-8-May-04 15:50 
QuestionMs Access Problem? Pin
catztay5-May-04 13:39
catztay5-May-04 13:39 
AnswerRe: Ms Access Problem? Pin
Roger Wright5-May-04 15:07
professionalRoger Wright5-May-04 15:07 
GeneralInner Join (JOY!) and Datasets Pin
Tristan Rhodes5-May-04 12:46
Tristan Rhodes5-May-04 12:46 
I'm just getting into Inner Join methods. I've got a query that extracts a whole heap of data from my database using the following query:

"SELECT MainPosts.PostTitle, MainPosts.PostDate, MainPosts.PostTime " +
"FROM ((MainPages INNER JOIN MainPosts ON MainPages.PageID = MainPosts.PageID) " +
"INNER JOIN Members ON MainPosts.PosterID = Members.AccountID) " +
"WHERE (MainPages.PageName = 'Main') " +
"ORDER BY MainPosts.PostDate DESC, MainPosts.PostTime DESC"

Now, this works ok, i get a populated dataset. But i'm trying to get my head round a few things.

How is this query represented in a dataset?

It seems that i only have 1 table called table. Is this how it's supposed to work? I was expecting to get a table of the appropriate name, or a set of tables in the dataset of the appropriate names.

That's relatively trivial though.

My biggest dillema is deffining a delete call for it. If i delete an entry, or sign it off to delete, how does this behave? Can i delete something in this table, and have it removed only from the Posts table?

I'm a bit hazy.

Regards

Cata
GeneralRe: Inner Join (JOY!) and Datasets Pin
Edbert P5-May-04 13:04
Edbert P5-May-04 13:04 
GeneralRe: Inner Join (JOY!) and Datasets Pin
Tristan Rhodes6-May-04 6:32
Tristan Rhodes6-May-04 6:32 
GeneralRe: Inner Join (JOY!) and Datasets Pin
Edbert P9-May-04 12:24
Edbert P9-May-04 12:24 
GeneralOracle SQL Pin
pankajdaga5-May-04 11:51
pankajdaga5-May-04 11:51 
GeneralRe: Oracle SQL Pin
Mike Ellison6-May-04 5:33
Mike Ellison6-May-04 5:33 
GeneralRe: Oracle SQL Pin
WoutL13-May-04 0:45
WoutL13-May-04 0:45 
GeneralEncrypting Data Pin
MKlucher5-May-04 6:55
MKlucher5-May-04 6:55 
GeneralRe: Encrypting Data Pin
Mazdak5-May-04 7:33
Mazdak5-May-04 7:33 
GeneralRe: Encrypting Data Pin
MKlucher5-May-04 7:38
MKlucher5-May-04 7:38 
GeneralRe: Encrypting Data Pin
Mazdak5-May-04 7:47
Mazdak5-May-04 7:47 
GeneralRe: Encrypting Data Pin
MKlucher5-May-04 10:03
MKlucher5-May-04 10:03 
GeneralRe: Encrypting Data Pin
Mazdak5-May-04 10:13
Mazdak5-May-04 10:13 
GeneralRe: Encrypting Data Pin
cmk5-May-04 8:53
cmk5-May-04 8:53 
GeneralRe: Encrypting Data Pin
pankajdaga5-May-04 10:18
pankajdaga5-May-04 10:18 
GeneralQuestion about Oracle tools Pin
Keith Vitali5-May-04 5:42
Keith Vitali5-May-04 5:42 
GeneralRe: Question about Oracle tools Pin
Guillermo Rivero5-May-04 5:53
Guillermo Rivero5-May-04 5:53 
GeneralRe: Question about Oracle tools Pin
Keith Vitali5-May-04 6:08
Keith Vitali5-May-04 6:08 

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.