Viewing 15 posts - 16,816 through 16,830 (of 59,067 total)
Alan.B (8/25/2016)
ScottPletcher (8/25/2016)
/*CREATE FUNCTION ...*/
SELECT REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(LTRIM(RTRIM(@Text)),
SPACE(33), ' '),
SPACE(17), ' '),
...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2016 at 11:29 pm
MiguelSQL (9/15/2016)
We would need to do this several times a year (bad idea... I know)
I'm not sure why anyone would think that's a bad idea unless there were some PII...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2016 at 11:20 pm
TheSQLGuru (9/15/2016)
http://www.red-gate.com/products/dba/sql-clone/
https://www.simple-talk.com/sql/sql-tools/clone-sweet-clone-database-provisioning-made-easy/
Tell Richard I sent...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2016 at 11:16 pm
Heh... I think I'm being prodded to publish. 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2016 at 11:08 pm
MickyD (9/15/2016)
I have been given a selection of queries from the users.
As an example a very basic select returns (669484 row(s) affected) in around 5...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2016 at 4:46 pm
MickyD (9/15/2016)
As an example a very basic select returns (669484 row(s) affected) in around 5 mins.
Hold the phone a minute... WHERE are those rows being returned to? What does...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2016 at 4:41 pm
MickyD (9/15/2016)
I recently came across a dev database in our organization that had no clustered indexes and circa 100 million row.....:crazy:
In order to rectify I need some advice on...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2016 at 4:03 pm
Took a quick look, Hugo. Looks great and I don't actually have to figure out how to write a Cursor (I think I've done it only 2 or 3...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2016 at 9:45 am
Hugo Kornelis (9/15/2016)
Jeff Moden (9/14/2016)
Hugo Kornelis (9/12/2016)
What I should have written was "a WHILE loop, no matter how well written it is, will never ever beat a (well written) cursor".
Do...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2016 at 9:31 am
sqlenthu 89358 (9/15/2016)
Jeff Moden (9/14/2016)
sqlenthu 89358 (9/14/2016)
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2016 at 9:22 am
tripleAxe (9/15/2016)
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2016 at 9:11 am
patilpallavi16 (9/13/2016)
declare @naiccode int = 12345
SELECT Policy.policyType, Policy.policyNum, Policy.effectiveDate, '12345' AS "NAIC Code" ,
Insured.lname1, Insured.middle1,
Insured.fname1, Insured.address1, Insured.city, Insured.state, Insured.zip FROM Policy FULL JOIN
Insured ON...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 14, 2016 at 6:47 pm
Hugo Kornelis (9/12/2016)
What I should have written was "a WHILE loop, no matter how well written it is, will never ever beat a (well written) cursor".
Do you have some readily...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 14, 2016 at 6:33 pm
From the Article:
An organization wouldn't need to cater food every night.
Night? Free brainstorming for the company and it's at night?
I've heard of "Down Tools" or "Down Weeks" before but there's...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 14, 2016 at 5:56 pm
That is unless the temp table starts with two "#" signs, which makes it a "Global Temp Table", and then the answer would be "yes".
--Jeff Moden
Change is inevitable... Change for the better is not.
September 14, 2016 at 5:29 pm
Viewing 15 posts - 16,816 through 16,830 (of 59,067 total)