Viewing 15 posts - 1,651 through 1,665 (of 8,731 total)
Comic Sans all the way!!!!😀😛
January 12, 2017 at 2:12 pm
i ran the code with CTE clause and it is working but it is missing...
January 12, 2017 at 6:33 am
What have you tried?
How do you define Last_data and last_data from 6 month?
Are the backup Start and Backup Finish dates always the same? Do they include times?
January 11, 2017 at 2:06 pm
sgmunson (1/11/2017)
This sounds more like a "presentation" thing. I would suggest you just write a normal query that will have all the data for the server in every...
January 11, 2017 at 8:50 am
ZZartin (1/10/2017)
January 10, 2017 at 1:51 pm
You could replace the zero (in both places) with any other date or value that can be implicitly converted into a datetime. It's helpful to prevent errors when dealing with...
January 10, 2017 at 1:07 pm
And the resetted row number can be achieved my using modulo.
SELECT *,
(ROW_NUMBER() OVER( ORDER BY SomeColumn) + 499) / 500,
ISNULL(...
January 10, 2017 at 12:59 pm
jasona.work (1/10/2017)
Brandie Tarvin (1/10/2017)
BrainDonor (1/10/2017)
jasona.work (1/10/2017)
My normal 30 minute drive to work took an hour, the roads were crap and slick, and I've got a little rear-wheel drive sporty car.
Winter...
January 10, 2017 at 12:49 pm
skmoh2 (1/10/2017)
Thanks Luis for this.i have done this scenario with SQL and is working fine.
Can you share that code with us?
But i have to implement it using procedure/function with LOOP...
January 10, 2017 at 9:43 am
Just pivot your table inside a CTE or subquery (derived table) before joining to the other table.
January 10, 2017 at 9:39 am
OK, let's take it slowly.
You have Table1 which is your orders table. You need to be sure you have all the rows needed as defined in your components table which...
January 10, 2017 at 8:51 am
Is it really that difficult? There should be a better way to get this information, but I would need to get a complete picture and do intensive research. Definitively not...
January 10, 2017 at 7:27 am
Thom A (1/10/2017)
Also, can you supply DDL and DLM statements for your tables. At first glance you...
January 10, 2017 at 7:02 am
djj (1/10/2017)
Grumpy DBA (1/10/2017)
Ed Wagner (1/10/2017)
Truth(or) Dare
Care
Bear
January 10, 2017 at 7:00 am
skmoh2 (1/10/2017)
Table1
--------
PeggingSKU QTY RDD ComponentAvilable QtyAvlbl Dte Material Available Date
SO1 ...
January 10, 2017 at 6:59 am
Viewing 15 posts - 1,651 through 1,665 (of 8,731 total)