Viewing 15 posts - 3,526 through 3,540 (of 4,820 total)
Jonathan Marshall (7/2/2015)
How does once get that data that has been exported into an xml...
July 2, 2015 at 2:26 pm
N_Muller (7/2/2015)
July 2, 2015 at 2:23 pm
Yeah, I have to agree with Drew, and for all the same reasons. I do have to ask though... why does it matter if there's a difference...
July 2, 2015 at 2:21 pm
santa326 (7/2/2015)
I got answer to my query but ran into another problem.
I am not able to Add rCTE to a Temp Table.
and Every Part has a DocID how...
July 2, 2015 at 12:49 pm
Don't know why, but I would never leave it that way for any amount of money. It would just confuse someone somewhere and be a potential source of concern.
July 2, 2015 at 12:40 pm
rob.lewis 86087 (7/2/2015)
One has a function, the other has the tables and views
using dba
select dbo.function(t.column) as x from dbb.dbo.table as t
gives m an...
July 2, 2015 at 11:31 am
Dohsan (7/2/2015)
I'm assuming if you ever needed 2nd, 3rd you...
July 2, 2015 at 9:45 am
Even without sample data, this one is going to need a calendar table of some kind as well as a holiday table. because there will be a need to represent...
July 2, 2015 at 9:34 am
vipin_jha123 (7/2/2015)
Using SQL Qury.
Here's a query that converts from numeric values, although if you want to just generate this data independent of other table values, then you could change the...
July 2, 2015 at 9:10 am
mandania (7/2/2015)
July 2, 2015 at 8:50 am
drew.allen (7/2/2015)
July 2, 2015 at 8:36 am
Can you post your OPENROWSET query so I can see a working example? You can substitute things like 'D:\Folder\Filename.dtsx' for the actual filename.
July 2, 2015 at 6:39 am
OLSONEJ (7/1/2015)
July 2, 2015 at 6:21 am
souravagar (7/1/2015)
Column NameComments
CustomerIDINT
SequenceNoINT
CommentsVARCHAR(MAX)
CUSTOMER TABLE
CustomerIDSequenceNoComments
11ABC D
12CDE
13ABC
14ABC D
15CDE
16abc
27ABC DEF
28
29ABC DEF
210DEF
211XYZ 123
212ABC
313PQ RST
OUTPUT
CustomerIDSequenceNoComments
13ABC
14ABC D
15CDE
16abc
28
29ABC DEF
210DEF
211XYZ 123
212ABC
313PQ RST
Records should be filtered by
1.Display only Unique Comments from Customer Table for all the customers,
2.If...
July 1, 2015 at 3:22 pm
Luis Cazares (7/1/2015)
Just as an FYI, you can remove the ISNULL() by using the third parameter of LAG()
--Instead of
ISNULL(LAG(P.Lev, 1) OVER(PARTITION BY T.AccountID ORDER BY T.Datekey), 0) AS LAG_VALUE
-- Use
LAG(P.Lev,...
July 1, 2015 at 11:29 am
Viewing 15 posts - 3,526 through 3,540 (of 4,820 total)