Click here to Skip to main content
15,913,941 members
Home / Discussions / Database
   

Database

 
GeneralRe: Export of a CSV file loses second decimal place... Pin
Ashfield9-Nov-08 20:08
Ashfield9-Nov-08 20:08 
GeneralRe: Export of a CSV file loses second decimal place... Pin
new_phoenix7-Nov-08 8:03
new_phoenix7-Nov-08 8:03 
GeneralRe: Export of a CSV file loses second decimal place... Pin
Ashfield7-Nov-08 8:59
Ashfield7-Nov-08 8:59 
GeneralRe: Export of a CSV file loses second decimal place... Pin
riced8-Nov-08 1:37
riced8-Nov-08 1:37 
Question[Message Deleted] Pin
siyapatel6-Nov-08 3:24
siyapatel6-Nov-08 3:24 
AnswerRe: Select Data Pin
Blue_Boy6-Nov-08 3:30
Blue_Boy6-Nov-08 3:30 
General[Message Deleted] Pin
siyapatel6-Nov-08 3:36
siyapatel6-Nov-08 3:36 
GeneralRe: Select Data Pin
Ben Fair7-Nov-08 6:02
Ben Fair7-Nov-08 6:02 
RantRe: [Message Deleted] Pin
Wendelius7-Nov-08 6:50
mentorWendelius7-Nov-08 6:50 
GeneralRe: [Message Deleted] Pin
Paul Conrad7-Nov-08 11:03
professionalPaul Conrad7-Nov-08 11:03 
GeneralRe: [Message Deleted] Pin
Wendelius7-Nov-08 20:29
mentorWendelius7-Nov-08 20:29 
AnswerRe: [Message Deleted] Pin
Paul Conrad7-Nov-08 11:02
professionalPaul Conrad7-Nov-08 11:02 
QuestionChanging Datatype of columns Pin
Sunil_Botre6-Nov-08 1:41
Sunil_Botre6-Nov-08 1:41 
AnswerRe: Changing Datatype of columns Pin
Wendelius6-Nov-08 8:13
mentorWendelius6-Nov-08 8:13 
AnswerRe: Changing Datatype of columns Pin
joindotnet7-Nov-08 1:13
joindotnet7-Nov-08 1:13 
QuestionSearch Sql table for a word contains some letters Pin
y_mmohd5-Nov-08 23:39
y_mmohd5-Nov-08 23:39 
AnswerRe: Search Sql table for a word contains some letters Pin
Paddy Boyd6-Nov-08 0:38
Paddy Boyd6-Nov-08 0:38 
AnswerRe: Search Sql table for a word contains some letters Pin
Wendelius6-Nov-08 8:18
mentorWendelius6-Nov-08 8:18 
GeneralRe: Search Sql table for a word contains some letters Pin
y_mmohd6-Nov-08 23:39
y_mmohd6-Nov-08 23:39 
GeneralRe: Search Sql table for a word contains some letters Pin
Ashfield7-Nov-08 1:43
Ashfield7-Nov-08 1:43 
GeneralRe: Search Sql table for a word contains some letters Pin
Wendelius8-Nov-08 4:35
mentorWendelius8-Nov-08 4:35 
QuestionCross Join Pin
Meysam Mahfouzi5-Nov-08 19:59
Meysam Mahfouzi5-Nov-08 19:59 
I've got a query like this:

WITH CTE1 AS
(
  SELECT * FROM TABLE WHERE A = @A
), 
CTE2 AS
(
  SELECT * FROM TABLE WHERE B = @B
)
SELECT * FROM 
CTE1
  CROSS JOIN
CTE2


The above query works fine for me and always returns cross join result of the two queries. The problem happens when one of those CTEs doesn't return any row and therefore the CROSS JOIN returns nothing as well. When only one of those CTEs return something, my expectation is to return the result of that CTE cross joined with null values. Do you know how I can achieve this purpose?
AnswerRe: Cross Join Pin
Wendelius6-Nov-08 7:53
mentorWendelius6-Nov-08 7:53 
Questioninsert_update Stored procedure and return Identity value Pin
wajans5-Nov-08 18:35
wajans5-Nov-08 18:35 
AnswerRe: insert_update Stored procedure and return Identity value Pin
Ashfield5-Nov-08 21:11
Ashfield5-Nov-08 21:11 

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.