Viewing 15 posts - 16,546 through 16,560 (of 59,101 total)
Luis Cazares (10/25/2016)
ninamahezi (10/25/2016)
I want a sql function that will allow to make one update but with several replace on the same column.
For exemple
Replace the space by vacuum('')
...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 25, 2016 at 11:10 pm
Maybe if you're trying to do all this to a table, the cCA method might improve performance a bit because you can then take advantage of the starting position parameter...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 25, 2016 at 10:41 pm
pietlinden (10/25/2016)
Jeff,My first thought was to be lazy and use DelimitedSplit8K but that would turn each occurrence into a separate record, right?
Yes. You'd have to do a CROSS TAB...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 25, 2016 at 10:03 pm
It's by design and definition. Referring to the note at the following URL...
[font="Arial Black"]OVER Clause (Transact-SQL)[/font]
NOTE:
If ORDER BY is not specified entire partition is used for a window frame....
--Jeff Moden
Change is inevitable... Change for the better is not.
October 25, 2016 at 9:43 pm
rlevy 18902 (10/25/2016)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 25, 2016 at 7:17 pm
Just a reminder that the OP doesn't need to build a "correct" address formatter that follows CASS certification rules. He needed something that would standardize typical spellings of address...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 25, 2016 at 6:55 pm
Sterling Ostin (10/24/2016)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 25, 2016 at 6:46 pm
WhiteLotus (10/24/2016)
No message because when I right click on that db and choose Shrink -> data file . It shows up a shrink...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 25, 2016 at 12:14 am
Phil Parkin (10/24/2016)
sqlserverDBA2016 (10/24/2016)
Is adding the features later same as when installing SQL serverAnd it's not more xomplicated
I think that Jeff's point of view is that it's safer to reconfigure...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2016 at 6:23 pm
Eirikur Eiriksson (10/24/2016)
you will need this index on the dbo.Transaction
CREATE UNIQUE NONCLUSTERED INDEX [INDEX_NAME] ON [dbo].[Transaction](
[InvoiceUID] ASC,
[IsSuccess] ASC,
[TransKind] ASC,
[TransactionDate] ASC
)
INCLUDE ( [CardNumber],[ReferenceNumber],[SeqCounter],[UnqReferenceNumber]);
I came up with similar but was really...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2016 at 3:36 pm
Dird (10/24/2016)
TheSQLGuru (10/6/2016)
I also note that 32GB on a server is just silly these days??
He means that it's an insufficient amount of ram. They've got USB memory sticks larger...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2016 at 3:28 pm
Rod at work (10/24/2016)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2016 at 3:23 pm
krypto69 (10/24/2016)
Thanks.I think I found one that is pretty good - has fiscal dates (Quarters/Year end, etc)
Can you post the link, please?
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2016 at 3:15 pm
Another thing to strongly consider when transferring such large amounts of data is "Minimal Logging" and the proper use of Trace Flag 610, which has been available since 2008 R2....
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2016 at 3:14 pm
komal145 (10/24/2016)
STATUS STATUS
ABCD ABCD If the value are same No insert
BCDG ...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2016 at 2:56 pm
Viewing 15 posts - 16,546 through 16,560 (of 59,101 total)