Viewing 15 posts - 22,996 through 23,010 (of 59,099 total)
smtzac (8/7/2014)
CREATE TABLE [dbo].[ABCD](
[A] [uniqueidentifier] NULL,
[uniqueidentifier] NULL,
[C] [nvarchar](100) NULL,
[D] [nvarchar](max) NULL,
[E] [nvarchar](max)...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 7, 2014 at 9:09 am
mssqlsrv (8/6/2014)
You can create Server and database audit to check what and who is inserting records in a table.Also if possible use partitions for performance.
Oh, be careful now... partitioning won't...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 7, 2014 at 6:13 am
alex_pixley (8/6/2014)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 7, 2014 at 5:52 am
mssqlsrv (8/7/2014)
Pls check on below link. Might be helpful.http://www.patrickkeisler.com/2013/01/how-to-remove-undo-table-partitioning.html
I wouldn't remove table partitioning... it's not the problem and "undoing" partitioning won't save much space at all and will only undo...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 7, 2014 at 5:45 am
TSQL_Newbie (8/7/2014)
Sorry I am quite new to TSQL Query and require a little help if possible please.
I have obtained my results from a query from joining various tables and...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 7, 2014 at 5:37 am
To add to what Lutz posted, you have things like the following in your code...
WHEN mo.OFFICE_CD IN ('KBE ANR','KBE ZEE', 'KEU ANR') THEN 'BELGIUM'
It would be MUCH better if you...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 7, 2014 at 5:35 am
Sean Lange (8/6/2014)
Jeff Moden (8/5/2014)
rajeshn29.dba (8/5/2014)
I would like to know SQL DBA high ended question (5+ years’ experience) what kind of questions they will ASK …………………. Just for curiosity...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 6, 2014 at 6:12 pm
smtzac (8/6/2014)
Thank you guys for your time 🙂
Since we have no clue what the table is actually being used for, we're just shooting in the dark. Take some time...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 6, 2014 at 5:58 pm
GPO (8/6/2014)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 6, 2014 at 5:41 pm
smtzac (8/6/2014)
Thank you guys for your time 🙂
You still haven't identified whether or not it's an audit table. If it is, a whole 'nuther world can be opened to...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 6, 2014 at 12:51 pm
samking (8/6/2014)
I am running an update query.
It is taking long time. To find the estimated completion time i checked sys.dm_exec_request or sys.dm_exec_session or sp_who2 but there is no clue....
--Jeff Moden
Change is inevitable... Change for the better is not.
August 6, 2014 at 11:58 am
rajsin7786 (8/6/2014)
i have a 20G table which takes 40 minutes to update statistics with full scan.
i want to perform update statistics with full scan on a 350 GB table. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 6, 2014 at 11:53 am
Ed Wagner (8/6/2014)
Please write the T-SQL code to count from 1 to 10.
There are many correct answers and how they answer can tell you a...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 6, 2014 at 11:44 am
Here's a place where it would appear that most people still suffer "getting it right the first time".
http://news.msn.com/science-technology/report-russian-hackers-steal-12b-passwords
--Jeff Moden
Change is inevitable... Change for the better is not.
August 6, 2014 at 5:58 am
Jason-368451 (8/6/2014)
I need a way to parse proper csv files that are comma delimited with...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 6, 2014 at 5:51 am
Viewing 15 posts - 22,996 through 23,010 (of 59,099 total)