Viewing 15 posts - 21,196 through 21,210 (of 59,072 total)
I've never had a performance problem because of such switches but if I were forced at gunpoint to make a conjecture, I would unfortunately still have to say I don't...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 22, 2015 at 8:05 pm
Thanks, Eirikur, but the brilliance is not mine. I'm just translating the work of the truly brilliant Itzik Ben-Gan.
Speaking of brilliant, using CHECKSUM() to convert the VARCHAR(30) ID to...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 22, 2015 at 7:58 pm
My pleasure, good Sir. Thank you for the feedback.
My question now is do you have any questions about how the solution I provided actually works?
--Jeff Moden
Change is inevitable... Change for the better is not.
March 22, 2015 at 2:19 pm
As a bit of a sidebar, storing the "guaranteed to be 7 digits" ID in a VARCHAR(anything) data-type is not what I would do. At the very least, the...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 22, 2015 at 1:34 pm
One of the major faults with requirements like this is that the problem definition is based on given data and people code to only the conditions in the given data....
--Jeff Moden
Change is inevitable... Change for the better is not.
March 22, 2015 at 12:32 pm
wagdy_maher (3/21/2015)
it's normal single server no HA till now
Data size 300...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 21, 2015 at 9:03 pm
Also be aware of the "tipping point" that every server has. Depending on a seemingly intangible and tangible set of multiple factors, 1 million rows might insert in just...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 21, 2015 at 8:26 pm
First of all, you didn't read the article that Alex Suprun provided the link to above. Go back to his post, click on the link, and read that article....
--Jeff Moden
Change is inevitable... Change for the better is not.
March 21, 2015 at 8:18 pm
We don't use source control for the classic reasons that someone might use source control. We use them to keep code related to a single change together and to...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 21, 2015 at 7:47 pm
Barcelona10 (3/20/2015)
rebuild----defrag(space issue)shink------frag.
rebuild----defrag(space issue)
shink------frag.....
Just to be sure, if you shrink the database, do a REORGANIZE instead of a REBUILD (reorg is done in place rather than separately so causes nearly...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 21, 2015 at 2:46 pm
CELKO (3/20/2015)
If you like math, here is a link to “interval algebra” and other options for the math:
Good golly! No wonder many programmers hate temporal math! Allen even...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 21, 2015 at 2:04 pm
DKY (3/21/2015)
> I bulk insert the entire file into a one column table
> I then bcp the data into three different...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 21, 2015 at 9:42 am
Thanks for the question, Dwain. It's real simple.
Assuming that you already have a hierarchy table (We'll call it "H" for this example and all names will be greatly simplified....
--Jeff Moden
Change is inevitable... Change for the better is not.
March 20, 2015 at 8:04 am
sarat_reddy (9/19/2014)
Remember trying this a while back. updates took a long time. also correcting data was difficult. Prefer an adjacency list with a lineage column method
That's why the article suggests...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 20, 2015 at 7:45 am
CELKO (3/19/2015)
{snip}
Most encoding schemes use fixed...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 19, 2015 at 11:15 pm
Viewing 15 posts - 21,196 through 21,210 (of 59,072 total)