Viewing 15 posts - 1,426 through 1,440 (of 1,464 total)
I don't agree with storing values as separated lists.
But, to answer your question, I have made the assumption that TB_CongVan is the parent table, and cap2 is the child table.
SELECT
...
May 24, 2016 at 11:39 pm
MadAdmin (4/28/2016)
your partitioning function will tell you how the data is split.You can find that under storage in that dataase.
Thanks MadAdmin
I could use something like this
SELECT mt.*, p.partition_number
FROM MyTableName AS...
April 28, 2016 at 3:27 am
You can always import it in batches
1 - Insert a new column before "A". Add a UniqueKey to this column. It could be as simple as an incrementing...
April 26, 2016 at 3:50 am
It's very difficult to attempt an answer without sample data and expected output.
That said, perhaps this will do the trick
SELECT src.*,
TotalEntered = SUM(Entered) OVER (PARTITION BY USERNAME),
...
April 15, 2016 at 1:24 am
OK. So I have tweaked Scott's math and massaged it into a CROSS APPLY against the table to search for any partial PartNumber, regardless of length.
The performance...
April 7, 2016 at 10:40 am
DesNorton (4/6/2016)
ScottPletcher (4/6/2016)
DesNorton (4/6/2016)
Hi Scott
This is certainly fast, with similar I/O to the other solutions, but very low CPU numbers. However, I am unable to wrap my head around...
April 7, 2016 at 2:07 am
ScottPletcher (4/6/2016)
DesNorton (4/6/2016)
Hi Scott
This is certainly fast, with similar I/O to the other solutions, but very low CPU numbers. However, I am unable to wrap my head around the...
April 6, 2016 at 12:42 pm
ScottPletcher (4/5/2016)
April 6, 2016 at 9:58 am
Alan.B (4/5/2016)
April 6, 2016 at 8:08 am
Scott and Alan
I have just walked into a #$@%storm that needs my full attention. I will take a closer look at your suggestions as soon as I can.
April 5, 2016 at 9:26 pm
Sergiy (4/5/2016)
DesNorton (4/5/2016)
This app and DB are still in dev, and have not yet been published...
April 5, 2016 at 9:20 pm
Alan.B (4/5/2016)
Quick question what are the Partnumber column always going to be 6 characters long or less?
Also (and I expect...
April 5, 2016 at 9:33 am
Alan.B (4/5/2016)
Quick question what are the Partnumber column always going to be 6 characters long or less?
Also (and I expect...
April 5, 2016 at 9:02 am
Alan.B (4/1/2016)
Regarding the first question - that's an excellent observation, good catch. When I was writing the function I hadn't decided how long the search pattern would be. You are...
April 3, 2016 at 11:53 pm
Alan.B (3/30/2016)
March 31, 2016 at 10:49 pm
Viewing 15 posts - 1,426 through 1,440 (of 1,464 total)