Viewing 15 posts - 6,481 through 6,495 (of 8,761 total)
Eirikur Eiriksson (12/7/2014)
Quick suggestion๐
SELECTPT.idx
,PT.paymentDte
,PT.officialReceiptNo
,PT.sysReceiptNo
FROM dbo.paymentTrnx PT
WHERE (YEAR(PT.paymentDte) * 100) + MONTH(PT.paymentDte) BETWEEN 201201 AND 201203;
Bullseye...
December 7, 2014 at 1:50 pm
Tac11 (12/7/2014)
....6. Not sure can, you plz explain in details?
Good stuff, now we are getting somewhere;-)
The data/index ratio is the ratio between the raw data and the duplication of data...
December 7, 2014 at 1:07 pm
Quick suggestion
๐
SELECT
PT.idx
,PT.paymentDte
,PT.officialReceiptNo
,PT.sysReceiptNo
FROM dbo.paymentTrnx PT
WHERE (YEAR(PT.paymentDte) * 100) + MONTH(PT.paymentDte) BETWEEN 201201 AND 201203;
December 7, 2014 at 11:14 am
Tac11 (12/7/2014)
1. .mdf is 300 gb.
2. .ndf is 250 gb
3. .ndf is 75 gb
all have less than 10% space available. I read...
December 7, 2014 at 10:58 am
Here is a very simple way of constructing a html table in T-SQL with the background definition you asked for
๐
USE tempdb;
GO
SET NOCOUNT ON;
DECLARE @HTMLSTR VARCHAR(MAX) = '';
DECLARE @SAMPLE TABLE
(
...
December 7, 2014 at 10:39 am
Here is a code snip that should help you get passed this hurdle
๐
USE tempdb;
GO
SET NOCOUNT ON;
/* Never trust the defaults ๐ */
SET DATEFORMAT 'mdy';
DECLARE @TDATE TABLE (TDSTR VARCHAR(25) NOT NULL);
INSERT...
December 7, 2014 at 7:58 am
Quick thought, sum the addition of all columns
๐
SELECT
SUM(TS.COL_001 + TS.COL_002 + TS.COL_003 + TS.COL_004 + TS.COL_005 + TS.COL_006 + TS.COL_007 + TS.COL_008 + TS.COL_009 +...
December 6, 2014 at 2:48 pm
Quick thought, use trace flags 1117 and 1118
๐
December 6, 2014 at 8:40 am
Echoing Jeffยดs question and adding some more, are you using a single file tempdb configuration? Do you know what is causing the growth? Are you experiencing any congestion in the...
December 6, 2014 at 2:56 am
Quick suggestion (pseudo code)
๐
DECLARE @ParamTable varchar(100) = N''; -- include schema, error...
December 4, 2014 at 11:04 pm
KGJ-Dev (12/4/2014)
as i don't want to open a new post for this, as we have all the information on this post, i would like to extend this conversation.
I am...
December 4, 2014 at 10:39 pm
pietlinden (12/3/2014)
I'm pretty sure Eirikur will shred my SQL, but this works:
No shredding, just minor improvement
๐
First a data set
USE tempdb;
GO
SET NOCOUNT ON;
DECLARE @DUMBER_OF_CLUBS INT = 200;
IF OBJECT_ID('dbo.TBL_CLUB') IS NOT...
December 4, 2014 at 2:48 pm
Herpington_McDerpington (12/3/2014)
Eirikur Eiriksson (12/3/2014)
December 3, 2014 at 11:39 am
Herpington_McDerpington (12/3/2014)
December 3, 2014 at 9:54 am
Steve Jones - SSC Editor (12/3/2014)
December 3, 2014 at 9:35 am
Viewing 15 posts - 6,481 through 6,495 (of 8,761 total)