Viewing 15 posts - 4,426 through 4,440 (of 15,381 total)
Luis Cazares (6/17/2014)
I'm not sure what happened in here :w00t:
Now you just need to figure out how to have the inner window be logged in to a different account. 😛
June 17, 2014 at 9:46 am
What is the question here? Is it the title of your post?
Remember that by their very definition tables have no order. Indexing is one of the ways we can...
June 17, 2014 at 9:24 am
raghava_tg (6/17/2014)
can you please why did you used Having clause in the query ?i am just curious !!
Because I wanted to do a comparison on the aggregate values, in this...
June 17, 2014 at 8:40 am
You could make this a lot simpler and skip the cte entirely.
SELECT @Total = count(CAST(id AS VARCHAR(60))) FROM cat_transaction
EXCEPT
SELECT ext_reference FROM Patricia.dbo.BUDGET_LINE
June 17, 2014 at 8:34 am
jmartincano (6/17/2014)
I need to get the object type (view, table ...etc) for a synonym base object inside a script. The only place where I...
June 17, 2014 at 8:18 am
ps_vbdev (6/16/2014)
i guess in a business rules outlook then you could say
If Active=1 (forget about date) then set all the ID's that are linked by the...
June 16, 2014 at 2:56 pm
Here is a complete shot in the dark.
update [SomeTable]
set ID = s.ID
from
(
select top 1 ID
from [SomeTable]
order by [Date] desc
)s
If that doesn't do it then you need to post ddl and...
June 16, 2014 at 1:02 pm
Koen Verbeeck (6/16/2014)
Evil Kraig F (6/16/2014)
June 16, 2014 at 12:55 pm
ps_vbdev (6/16/2014)
"I can come up with a number of ways to accomplish based on the sample data" IS true then how can also be "Unfortunately...
June 16, 2014 at 12:47 pm
ps_vbdev (6/16/2014)
im not sure how to do this as im not great with update statements. I have a table that get populated with related ids. basically i want...
June 16, 2014 at 11:59 am
It still isn't exactly clear what you want but I think it awfully close.
declare @SalesQuoteNumber varchar(20) = 'QUO-10566-0'
select * from
(
select *, ROW_NUMBER() over (partition by salesquotenumber, itemnumber, componentitemnumber order...
June 16, 2014 at 11:56 am
Luis Cazares (6/16/2014)
Sean Lange (6/16/2014)
We seem to have totally our website to spammers with links to streaming. Hope there is somebody around who can stop this nonsense.
Is this a signal...
June 16, 2014 at 11:42 am
itortu (6/16/2014)
I would want to obtain the prior quote number, prior item number, prior quote date for all items that are part of quote number QUO-10566-0
I really meant what is...
June 16, 2014 at 11:37 am
We seem to have totally our website to spammers with links to streaming. Hope there is somebody around who can stop this nonsense.
June 16, 2014 at 11:33 am
Thanks for the ddl and sample data. Based on the sample what do you expect as output? I am not quite sure what you are trying to do here.
June 16, 2014 at 11:31 am
Viewing 15 posts - 4,426 through 4,440 (of 15,381 total)