Viewing 15 posts - 4,606 through 4,620 (of 15,381 total)
Hrhb.mail (6/4/2014)
Can you explain how do you get to that result?
This is my question! How can I get to that result?
He means what are the business rules to get that?...
June 4, 2014 at 2:28 pm
Using the ddl that Luis posted and changing a couple column names there are lots of NULLs in this data. I am willing and able to help. I just need...
June 4, 2014 at 2:16 pm
Can you post your sample data as inserts? That let's us work on the issue instead of turning your data into something we can use.
June 4, 2014 at 1:54 pm
JAZZ Master (6/4/2014)
Ed Wagner (6/4/2014)
Sean Lange (6/4/2014)
SQLRNNR (6/4/2014)
crookj (6/4/2014)
Sean Lange (6/4/2014)
SQLRNNR (6/4/2014)
Sean Lange (6/4/2014)
crookj (6/4/2014)
whereisSQL? (6/4/2014)
Sean Lange (6/4/2014)
SQLRNNR (6/4/2014)
Ed Wagner (6/3/2014)
jasona.work (6/3/2014)
Ed Wagner (6/3/2014)
Sean Lange (6/3/2014)
crookj (6/3/2014)
jasona.work (6/3/2014)
JAZZ Master (6/3/2014)
SQLRNNR...
June 4, 2014 at 1:51 pm
dquirion78 (6/4/2014)
Who cares what language the columns names are in? We can't offer much help because we can't see your screen, have no idea what your data structures are like,...
June 4, 2014 at 12:41 pm
dquirion78 (6/4/2014)
as
select table2.field1, table2.field2
from table2
where...
--table3.field1 not the same value than table2.field1
cte2
as
select table3.field1, table3.field2
from table3
inner join CTE1
union table3.field2 on CTE1.FIELD2
where ...
select cte1.field1,cte1.field2
from cte1
union all
select cte2.field1,cte2.field2
from...
June 4, 2014 at 12:30 pm
prepaess (6/4/2014)
June 4, 2014 at 12:28 pm
SQLRNNR (6/4/2014)
crookj (6/4/2014)
Sean Lange (6/4/2014)
SQLRNNR (6/4/2014)
Sean Lange (6/4/2014)
crookj (6/4/2014)
whereisSQL? (6/4/2014)
Sean Lange (6/4/2014)
SQLRNNR (6/4/2014)
Ed Wagner (6/3/2014)
jasona.work (6/3/2014)
Ed Wagner (6/3/2014)
Sean Lange (6/3/2014)
crookj (6/3/2014)
jasona.work (6/3/2014)
JAZZ Master (6/3/2014)
SQLRNNR (6/3/2014)
mutantturtle
Ninja
Warrior
Sensei
Master
Shredder
Shred Dude
Pizza
Hungry
Cake
Blizzard
WoW
Starcraft (100x better than WoW)
Haven't...
June 4, 2014 at 12:26 pm
Not sure why the previous posted used partition by on the aggregate columns. That forced them to use a distinct. The logic was 99% done for you. All you need...
June 4, 2014 at 12:23 pm
SQLRNNR (6/4/2014)
Sean Lange (6/4/2014)
crookj (6/4/2014)
whereisSQL? (6/4/2014)
Sean Lange (6/4/2014)
SQLRNNR (6/4/2014)
Ed Wagner (6/3/2014)
jasona.work (6/3/2014)
Ed Wagner (6/3/2014)
Sean Lange (6/3/2014)
crookj (6/3/2014)
jasona.work (6/3/2014)
JAZZ Master (6/3/2014)
SQLRNNR (6/3/2014)
mutantturtle
Ninja
Warrior
Sensei
Master
Shredder
Shred Dude
Pizza
Hungry
Cake
Blizzard
WoW
Starcraft (100x better than WoW)
Haven't played WoW in a...
June 4, 2014 at 12:16 pm
dquirion78 (6/4/2014)
Basically
I want to select cte1 union all cte2 but cte2 uses cte1 and...
June 4, 2014 at 12:14 pm
crookj (6/4/2014)
whereisSQL? (6/4/2014)
Sean Lange (6/4/2014)
SQLRNNR (6/4/2014)
Ed Wagner (6/3/2014)
jasona.work (6/3/2014)
Ed Wagner (6/3/2014)
Sean Lange (6/3/2014)
crookj (6/3/2014)
jasona.work (6/3/2014)
JAZZ Master (6/3/2014)
SQLRNNR (6/3/2014)
mutantturtle
Ninja
Warrior
Sensei
Master
Shredder
Shred Dude
Pizza
Hungry
Cake
Blizzard
WoW
June 4, 2014 at 12:07 pm
SQLRNNR (6/4/2014)
Ed Wagner (6/3/2014)
jasona.work (6/3/2014)
Ed Wagner (6/3/2014)
Sean Lange (6/3/2014)
crookj (6/3/2014)
jasona.work (6/3/2014)
JAZZ Master (6/3/2014)
SQLRNNR (6/3/2014)
mutantturtle
Ninja
Warrior
Sensei
Master
Shredder
Shred Dude
Pizza
Hungry
June 4, 2014 at 11:08 am
djj (6/4/2014)
dquirion78 (6/4/2014)
I'm using Sql server 2012
On my stored procedure I declare table variable but I have an error "must declare @temptable in my cte" How I can...
June 4, 2014 at 11:01 am
dquirion78 (6/4/2014)
Sorry to ask 2 questions so fast... I'm just learning...
I want to fill a table variable with 2 differents cte. but I got this error : Invalid object name...
June 4, 2014 at 10:22 am
Viewing 15 posts - 4,606 through 4,620 (of 15,381 total)