Viewing 15 posts - 3,241 through 3,255 (of 8,761 total)
Quick thought, the time calculation is not correct, the second result sould be 02:30:21 so there is an extra minute there in the results.
😎
Here are three different methods
USE TEEST;
GO
SET NOCOUNT...
September 4, 2016 at 6:43 am
You are merging into the LocDisplay table and that's where the error originates
😎
merge into LocDisplay as T
using (
select LocCode, PlaneCode, LocName, SomeCode
from [Loc] as S
cross apply (select distinct SomeCode from...
September 4, 2016 at 6:09 am
mah_j (9/3/2016)
This is the output:ErrorLogIX_ErrorLogFNNONCLUSTERED INDEX91.3237076278522144405
ErrorLogPK_LogCLUSTERED INDEX1.377094313331011301799
*and in addition the timeout occurs some times,may be we do not have it for 2 days.
Do you have any index maintenance jobs running...
September 4, 2016 at 5:51 am
Can you please post the DDL (create table) scripts, sample data as an insert statement and the expected results?
😎
September 4, 2016 at 5:49 am
There is no problem attaching the SQL Server 2012 databases to the SQL Server 2016 instance, but once attached it cannot be reverted back to SQL Server 2012. Simply create...
September 4, 2016 at 5:09 am
Thank you for your notification I have three questions :
1- What do you mean by full backup in OS level?
That is a full backup of the operating system and...
September 4, 2016 at 5:01 am
skippyV (9/3/2016)
So if I wanted to adjust the code and expand on the portion that builds the random value added to the base value, I could just...
September 3, 2016 at 3:10 pm
Further explanation (comments in the code)
😎
-- Number of rows generated
DECLARE @SAMPLE_SIZE BIGINT = 4000;
-- First date or Start Date
DECLARE @StartTime DATETIME =...
September 3, 2016 at 9:31 am
You are very welcome.
The code uses an inline tally table (numbers table) to generate the initial rows, the iTally works on the principal of cross joining a seed table of...
September 3, 2016 at 9:09 am
AFIIK there are no known problems when updating SQL Server 2014 (i.e. SP 2) but it is always better to be safe and do a full backup both on OS...
September 3, 2016 at 7:52 am
Quick question, what is the relevant output of this query
😎
SELECT
OBJECT_NAME(SIDX.OBJECT_ID) AS TABLE_NAME
,SIDX.name ...
September 3, 2016 at 7:26 am
Quick thought, I find the population being less relevant than the nature of the major businesses, the greater the legislative constraints applicable to the businesses (i.e. SOX, BASEL etc.) the...
September 3, 2016 at 7:09 am
My 2 cents worth on this subject: it depends!
😎
Few quick thoughts:
There is no "one size fits all", it all depends on the subject.
As a general rule a table should have...
September 3, 2016 at 7:02 am
Quick suggestion (if I understood your question correctly)
😎
USE TEEST;
GO
SET NOCOUNT ON;
DECLARE @SAMPLE_SIZE BIGINT = 4000;
DECLARE @StartTime DATETIME = CONVERT(DATETIME,'2011-07-20 11:00:33',120);
DECLARE @EndTime ...
September 3, 2016 at 5:17 am
Can you post the full unedited output of
DBCC CheckDB ('DB_NAME') WITH NO_INFOMSGS, ALL_ERRORMSGS;
😎
September 3, 2016 at 3:41 am
Viewing 15 posts - 3,241 through 3,255 (of 8,761 total)