Viewing 15 posts - 7,381 through 7,395 (of 15,381 total)
dhananjay.nagarkar (7/25/2013)
i have a task to write a business report that has 300 fields ( 200 from one table and 100 from another table) . Currently I'm creating a...
July 25, 2013 at 2:08 pm
Eric M Russell (7/25/2013)
Sean Lange (7/25/2013)
July 25, 2013 at 2:05 pm
armaandani (7/25/2013)
i have table named PersonalData.In this table i have a column DateOfBirth.I want to get the person who is the youngest of all.
For this what condition i should put...
July 25, 2013 at 1:59 pm
Sounds like you guys have kind of painted yourselves into a corner. There is a way to do this but it is not exactly best practice. Basically what you are...
July 25, 2013 at 1:44 pm
Maybe this?
select NMDOS, case RowNum when 1 then ETOTALDEB else NULL end as ETOTALDEB, tpdesc, dataobra, NOME, OBRANO, nmdoc, FNO, etiliquido
from
(
SELECT distinct BO.NMDOS,bo.ETOTALDEB, bo.tpdesc ,bo.dataobra,BO.NOME ,BO.OBRANO,ft.nmdoc,FT.FNO,CASE
WHEN FT.NDOC<> 1
THEN 0
ELSE FT.ETTILIQ
END...
July 25, 2013 at 1:08 pm
RedBirdOBX (7/25/2013)
It's become my job to decipher dozens (prob close to 100) of SPs written by a dozen different developers. Of course nothing is documented and...
July 25, 2013 at 1:02 pm
vignesh.ms (7/25/2013)
yes your query is very simple ..but i cant understand ..
Please explain what is cross apply ..
how dose it work in this query?
Check out Paul White's 2 part series...
July 25, 2013 at 10:43 am
vignesh.ms (7/25/2013)
yes.but null values need not to be cheked
The code that Luis posted will do exactly that. NULL <> a date.
Try the code he posted.
July 25, 2013 at 9:50 am
I have to admit that I really didn't look at the actual query you were running until ChrisM pointed it out to me. There seems to be a bit of...
July 25, 2013 at 9:23 am
erikd (7/25/2013)
July 25, 2013 at 8:56 am
Hi and welcome to the forums. It is very unclear what you are trying to here. In order to help we will need a few things:
1. Sample DDL in the...
July 25, 2013 at 7:58 am
raghuldrag (7/25/2013)
now My requirement is:
================
1)when the same user_id is trying to insert date for already exist date means want to show error mesaage whe n i press the...
July 25, 2013 at 7:56 am
erikd (7/24/2013)
USE [Utilities]
GO
SET...
July 25, 2013 at 7:51 am
There are a number of things that could be going on. The best way we can help is to look at the actual execution plan.
See this article for best practices...
July 25, 2013 at 7:34 am
SQL_Surfer (7/24/2013)
(
SELECT '1' col1,'abc' col2, 'bbc' col3 UNION ALL
SELECT '2'col1,'nbc' col2, 'zhi' col3 UNION ALL
SELECT '3'col1, NULL col2, 'abc' col3 UNION ALL
SELECT '4'col1, 'gef' col2,...
July 25, 2013 at 7:24 am
Viewing 15 posts - 7,381 through 7,395 (of 15,381 total)