Click here to Skip to main content
15,888,610 members
Home / Discussions / Database
   

Database

 
GeneralRe: DateTime ; between query in SQL SERVER 2000 Pin
Karan_TN23-Feb-10 2:47
Karan_TN23-Feb-10 2:47 
AnswerRe: DateTime ; between query in SQL SERVER 2000 Pin
Luc Pattyn23-Feb-10 3:21
sitebuilderLuc Pattyn23-Feb-10 3:21 
AnswerRe: DateTime ; between query in SQL SERVER 2000 [modified] Pin
Chris Meech23-Feb-10 7:06
Chris Meech23-Feb-10 7:06 
AnswerRe: DateTime ; between query in SQL SERVER 2000 Pin
Adam Jasper24-Feb-10 2:52
Adam Jasper24-Feb-10 2:52 
QuestionSQL Anywhere 10 Password Field Pin
MWRivera22-Feb-10 10:17
MWRivera22-Feb-10 10:17 
AnswerRe: SQL Anywhere 10 Password Field Pin
Not Active22-Feb-10 11:46
mentorNot Active22-Feb-10 11:46 
GeneralRe: SQL Anywhere 10 Password Field Pin
MWRivera23-Feb-10 3:10
MWRivera23-Feb-10 3:10 
QuestionCross Join - Sql Server Pin
dataminers22-Feb-10 5:41
dataminers22-Feb-10 5:41 
I have two table which are TBL_A and TBL_B.

TBL_A contain two record, TBL_B have no record.

Select ta.Name
From TBL_A ta

I get two record. But If wrote following query

Select ta.Name
From TBL_A ta, TBL_B tb

No any record get, because SQL Server defaultly use CROSS JOIN like this;

Select ta.Name
From TBL_A AS ta CROSS JOIN TBL_B AS tb

How can I close CROSS JOIN. I want to get record when TBL_B also have no record..

Actually I use "where" statement, but if one table have no record on FROM statement so I did not get result related about CROSS JOIN.
AnswerRe: Cross Join - Sql Server Pin
David Skelly22-Feb-10 6:09
David Skelly22-Feb-10 6:09 
AnswerRe: Cross Join - Sql Server Pin
Mycroft Holmes22-Feb-10 13:17
professionalMycroft Holmes22-Feb-10 13:17 
AnswerRe: Cross Join - Sql Server Pin
Niladri_Biswas23-Feb-10 16:34
Niladri_Biswas23-Feb-10 16:34 
AnswerMessage Closed Pin
11-Apr-22 3:48
Resh Tech11-Apr-22 3:48 
Questionerror : The instance name specified is invalid Pin
mehrnoosh21-Feb-10 19:26
mehrnoosh21-Feb-10 19:26 
AnswerRe: error : The instance name specified is invalid Pin
Mycroft Holmes21-Feb-10 19:54
professionalMycroft Holmes21-Feb-10 19:54 
GeneralRe: error : The instance name specified is invalid Pin
mehrnoosh21-Feb-10 20:08
mehrnoosh21-Feb-10 20:08 
GeneralRe: error : The instance name specified is invalid Pin
Mycroft Holmes21-Feb-10 20:23
professionalMycroft Holmes21-Feb-10 20:23 
QuestionConvert a String into datetime Pin
.NET- India 19-Feb-10 20:09
.NET- India 19-Feb-10 20:09 
AnswerRe: Convert a String into datetime Pin
Mycroft Holmes19-Feb-10 23:27
professionalMycroft Holmes19-Feb-10 23:27 
AnswerRe: Convert a String into datetime Pin
Niladri_Biswas20-Feb-10 18:01
Niladri_Biswas20-Feb-10 18:01 
AnswerRe: Convert a String into datetime Pin
Karan_TN23-Feb-10 2:02
Karan_TN23-Feb-10 2:02 
Questiona SQL Statement Error Pin
Majid Shahabfar19-Feb-10 5:25
Majid Shahabfar19-Feb-10 5:25 
AnswerRe: a SQL Statement Error Pin
Not Active19-Feb-10 5:38
mentorNot Active19-Feb-10 5:38 
GeneralRe: a SQL Statement Error Pin
Majid Shahabfar19-Feb-10 9:05
Majid Shahabfar19-Feb-10 9:05 
GeneralRe: a SQL Statement Error Pin
Not Active19-Feb-10 11:30
mentorNot Active19-Feb-10 11:30 
AnswerRe: a SQL Statement Error Pin
David Mujica19-Feb-10 6:04
David Mujica19-Feb-10 6:04 

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.