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

Database

 
Questionwhat is SqlDataAdapter and SqlDataReader? Pin
sathyan_82946-Apr-07 4:15
sathyan_82946-Apr-07 4:15 
AnswerRe: what is SqlDataAdapter and SqlDataReader? Pin
Krish - KP6-Apr-07 4:47
Krish - KP6-Apr-07 4:47 
Questioninserting a row into table from the form data Pin
Raheem MA5-Apr-07 23:52
Raheem MA5-Apr-07 23:52 
AnswerRe: inserting a row into table from the form data Pin
_mubashir6-Apr-07 3:21
_mubashir6-Apr-07 3:21 
AnswerRe: inserting a row into table from the form data Pin
Krish - KP6-Apr-07 3:48
Krish - KP6-Apr-07 3:48 
AnswerRe: inserting a row into table from the form data Pin
Ian Dennis6-Apr-07 7:38
Ian Dennis6-Apr-07 7:38 
QuestionInner Join Problem Pin
rkherath5-Apr-07 23:38
rkherath5-Apr-07 23:38 
AnswerRe: Inner Join Problem Pin
kubben6-Apr-07 2:08
kubben6-Apr-07 2:08 
It should be something like:
Select t1.location, t1.sales, t2.returns, t3.duepayment, t4.profit
from table1 t1
join table2 t2 on t1.year = t2.year and t1.month = t2.month and t1.productid = t2.productid and t1.location = t2.location
join table3 t3 on t1.year = t3.year and t1.month = t3.month and t1.productid = t3.productid and t1.location = t3.location
join table4 t4 on t1.year = t4.year and t1.month = t4.month and t1.productid = t4.productid and t1.location = t4.location
where t1.month = '03'
order by t1.location

It might be a good idea for you to get a sql book so you can learn the basics of write sql queries.

Ben
GeneralRe: Inner Join Problem Pin
rkherath8-Apr-07 17:27
rkherath8-Apr-07 17:27 
AnswerRe: Inner Join Problem Pin
Krish - KP6-Apr-07 2:09
Krish - KP6-Apr-07 2:09 
Questionwhen DTS package fails runnig, display message Pin
indian1435-Apr-07 20:44
indian1435-Apr-07 20:44 
QuestionUnicode, VB 2005 and SQL Server 2000 Pin
San Vibol5-Apr-07 17:21
San Vibol5-Apr-07 17:21 
QuestionMySQL connection problem Pin
shabonaa5-Apr-07 13:46
shabonaa5-Apr-07 13:46 
AnswerRe: MySQL connection problem Pin
Hayder Marzouk6-Apr-07 7:53
Hayder Marzouk6-Apr-07 7:53 
AnswerRe: MySQL connection problem Pin
shabonaa6-Apr-07 10:10
shabonaa6-Apr-07 10:10 
QuestionExtracting Primary Key to use as a Foreign Key Pin
bweaver5-Apr-07 8:18
bweaver5-Apr-07 8:18 
AnswerRe: Extracting Primary Key to use as a Foreign Key Pin
mghiassi5-Apr-07 8:34
mghiassi5-Apr-07 8:34 
AnswerRe: Extracting Primary Key to use as a Foreign Key Pin
kubben5-Apr-07 8:37
kubben5-Apr-07 8:37 
AnswerRe: Extracting Primary Key to use as a Foreign Key Pin
bweaver5-Apr-07 8:50
bweaver5-Apr-07 8:50 
Questionsteps to include activeX scripting in a DTS package Pin
indian1435-Apr-07 1:12
indian1435-Apr-07 1:12 
QuestionOrder of procedures to add a table Pin
thecodedemon5-Apr-07 0:06
thecodedemon5-Apr-07 0:06 
QuestionWhat happened with my SQL transaction log file? Pin
Hanh Aeriscute5-Apr-07 0:00
Hanh Aeriscute5-Apr-07 0:00 
AnswerRe: What happened with my SQL transaction log file? Pin
Krish - KP6-Apr-07 4:24
Krish - KP6-Apr-07 4:24 
QuestionactiveX script for a SQL-Server DTS package Pin
indian1434-Apr-07 21:45
indian1434-Apr-07 21:45 
AnswerRe: activeX script for a SQL-Server DTS package Pin
Frank Kerrigan4-Apr-07 23:16
Frank Kerrigan4-Apr-07 23:16 

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.