Quantcast
Channel: stuff
Browsing all 12 articles
Browse latest View live

stuff

select newid() as 'ID' , s.id 'SignalID' , s.name 'SignalName' , ctdp.OrganSystemID , cse.OutcomeEffect , stuff((select ',', CAST(Cells.id AS VARCHAR(MAX)) from Cells where Cells.id = csets.cellid for...

View Article



stuff

, csets.cellidchanges the group by results ,it changes the number of results i receive

View Article

stuff

Sorry, it is hard to test the query without data.with cte as ( select newid() as 'ID' , csets.cellid , s.id 'SignalID' , s.name 'SignalName' , ctdp.OrganSystemID , os.Name 'Devpath' , cse.OutcomeEffect...

View Article

stuff

still erorr Msg 156, Level 15, State 1, Line 34 Incorrect syntax near the keyword 'select'. Msg 102, Level 15, State 1, Line 34 Incorrect syntax near '1'.

View Article

stuff

with cte as ( select newid() as 'ID' , csets.cellid , s.id 'SignalID' , s.name 'SignalName' , ctdp.OrganSystemID , os.Name 'Devpath' , cse.OutcomeEffect from Signals as s join cell as csets on s.id =...

View Article


stuff

if i addstuff(select ',', CAST(Cells.id AS VARCHAR(MAX)) from Cells where Cells.id = ctdp.cellid for XML PATH (''),1,3,'')i receive errorwith out it the query work i tried also max( stuff(select ',',...

View Article

stuff

What happens with:select newid() as 'ID' , s.id 'SignalID' , s.name 'SignalName' , ctdp.OrganSystemID , os.Name 'Devpath' , cse.OutcomeEffect , stuff(select ',', CAST(Cells.id AS VARCHAR(MAX)) from...

View Article

stuff

here the full query select newid() as 'ID' , s.id 'SignalID', s.name 'SignalName', ctdp.OrganSystemID, os.Name 'Devpath', cse.OutcomeEffect, stuff(select ',', CAST(Cells.id AS VARCHAR(MAX)) from Cells...

View Article


stuff

It is hard to give good help without understanding the underlying table structures.My next attempt is to add z.xxxid to your group by clause.Russel Loski, MCT, MCSE Data Platform/Business Intelligence....

View Article


stuff

receive this errorCannot perform an aggregate function on an expression containing an aggregate or a subquery

View Article

stuff

,max(stuff((select ',', CAST(xxxid AS VARCHAR(36)) from cells where cell.xxxid = ctdp.cellid for XML PATH ('')),1,3,'')) I think this might do what you want.,Russel Loski, MCT, MCSE Data...

View Article

stuff

hii have query with joins and group by i want to add column containing concatenation of a field in one of the joins but not in the displayed fieldsselect x.name y.fullname z.name from x join y on x.id...

View Article
Browsing all 12 articles
Browse latest View live




Latest Images

Pangarap Quotes

Pangarap Quotes

Vimeo 10.7.0 by Vimeo.com, Inc.

Vimeo 10.7.0 by Vimeo.com, Inc.

HANGAD

HANGAD

MAKAKAALAM

MAKAKAALAM

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC