Viewing 15 posts - 19,486 through 19,500 (of 59,072 total)
Reindexing will seal up the holes, as well.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 1, 2015 at 9:02 pm
Kristen-173977 (9/28/2015)
Jeff Moden (9/28/2015)
+1000
My new high score :w00t:
FWIW a +1000 pet-hate of mine is using short mnemonics for the datepart parameters e.g. DATEADD(dd, ... instead of DATEADD(Day, ...
I have no...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 1, 2015 at 8:54 pm
Searching for "accidental DBA" on Google provides a wealth of information and resources. Here are a couple of good ones.
http://www.johnsansom.com/how-to-become-a-sql-server-dba/
http://www.brentozar.com/archive/2013/07/announcing-our-free-accidental-dba-6-month-training-plan/
http://www.sqlservercentral.com/Books/
--Jeff Moden
Change is inevitable... Change for the better is not.
October 1, 2015 at 7:51 pm
zedtec (10/1/2015)
I have a date column (not datetime) in SQL Server and the dates are in the format yyyy-mm-dd
I need to replace the date values with zero's so it looks...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 1, 2015 at 8:46 am
ps_vbdev (10/1/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 1, 2015 at 8:37 am
elmnas (10/1/2015)
I meant I don't want to change any table in the database I just want to collect data and I modify the data.
Then what I said in my original...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 1, 2015 at 8:12 am
jguffey (9/30/2015)
So I created the tally table and executed your code (thanks for sharing/educating).[/code]
Make sure that the only column in the Tally Table is NOT NULL and is the PK...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 30, 2015 at 3:22 pm
I agree with Erik. It's impossible to keep large or complex plans in your head. You have to write them down and modify the plans when changes occur...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 30, 2015 at 7:42 am
elmnas (9/30/2015)
How do I trim my result without replace anything in the current DB?
here is my query
SELECT
tt.bestdatum as 'Year',
FROM
[myDB].dbo.myTable as tt INNER JOIN
WHERE...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 30, 2015 at 6:56 am
You really only need to know one thing and that's only if you don't have sysadmin privs on all of the machines. That would be, where are the "SA"...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 29, 2015 at 10:45 pm
Just curious... how big is the database you're talking about?
--Jeff Moden
Change is inevitable... Change for the better is not.
September 29, 2015 at 10:42 pm
ramana3327 (9/29/2015)
I am able to create new maintenance plan. But the same error when tried to run that
Based on the given error and as someone suggested previously, who are the...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 29, 2015 at 8:58 pm
Ah. My apologies, Kim... I missed what you said here...
Kim Crosser (9/29/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
September 29, 2015 at 8:24 pm
J Livingston SQL (9/29/2015)
Jeff Moden (9/29/2015)
Start here...http://www.sqlservercentral.com/articles/Data+Generation/87901/
Hi Jeff.....did you ever do "part 3"
"Coming up in Part 3, random names, characters, codes, and SSNs."
best wishes
I haven't. Got attacked by a...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 29, 2015 at 6:11 pm
Kim Crosser (9/29/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
September 29, 2015 at 4:22 pm
Viewing 15 posts - 19,486 through 19,500 (of 59,072 total)