Viewing 15 posts - 9,721 through 9,735 (of 26,489 total)
So what you are saying is that BaseStage must be 1 in at least one record of BOTH groups, correct?
September 7, 2012 at 12:18 pm
Your question is really vague. Would you please explain in greater detail what you mean by updating the table?
September 7, 2012 at 12:16 pm
Since all you want is the TemplateName where BaseStage is 1 in at least 1 record in a group, the following works:
CREATE TABLE #tblTemplates
...
September 7, 2012 at 12:14 pm
TravisDBA (9/7/2012)
That all depends on where you live...:-D
I have to disagree with that. You make the neighborhood what you want. You either take the time to get to...
September 7, 2012 at 10:51 am
pawana.paul (9/7/2012)
I have an issue when pulling the data from multiple tables.
Table A has column Date_Created
Table B has column Date_Created
The format is somethine "2012-09-06 13:04:01.067". There is a time...
September 7, 2012 at 10:48 am
Andrew-495157 (9/7/2012)
Yes - I understand conversion and castingI wonder if you would re-read my previous post? To confirm what is in it.
What is to re-read? The conversion by...
September 7, 2012 at 10:45 am
TravisDBA (9/7/2012)
majorbloodnock (9/7/2012)
TravisDBA (9/7/2012)
September 7, 2012 at 10:42 am
Andrew-495157 (9/7/2012)
You are suggesting that SQL does the coercion the other way - coerces...
September 7, 2012 at 10:36 am
Nope, more like this:
with basedata (
name,
addy,
ph,
grade
) as (
select
name,
...
September 7, 2012 at 10:31 am
Andrew-495157 (9/7/2012)
Description_reference contains 2 rows with the value August 2012........ ???
Now look at the original code:
WHERE Job_Bag.Description_Reference = @OrderID -- SQL was trying to conver August...
September 7, 2012 at 10:25 am
sku370870 (9/7/2012)
CREATE TABLE #tblBlocks
...
September 7, 2012 at 10:21 am
Again, based solely on the initial post with a little more data added:
CREATE TABLE #tblBlocks
(
...
September 7, 2012 at 10:18 am
sku370870 (9/7/2012)
What I need is:
Join to the temporary table...
September 7, 2012 at 10:16 am
I'd also like to see the DDL (CREATE TABLE statement) for the table PR_CF_HST.
September 7, 2012 at 10:12 am
robert.baird 2778 (9/7/2012)
September 7, 2012 at 9:54 am
Viewing 15 posts - 9,721 through 9,735 (of 26,489 total)