Viewing 15 posts - 8,446 through 8,460 (of 8,753 total)
ScottPletcher (4/29/2014)
For only 5 chars, I wouldn't bother will all the CTEs and related folderol.
You know as well as all of us that requirements do change (par definition), are you...
April 29, 2014 at 1:06 pm
This is simply a brute force division, could be done this way
😎
DECLARE @DECIM DECIMAL(18,5) = 125521.12345;
/* Brute force division */
;WITH NX(N) AS (SELECT N FROM (VALUES
(1),(1),(1),(1),(1),(1),(1),(1),(1),(1)) AS X(N))
,NUMBERS(N)...
April 29, 2014 at 11:06 am
Chowdary's (4/29/2014)
I know this is some what get irritate to you,Very sorry for that but i hope that you can give me some suggestions for This.
Am using Windows Server...
April 29, 2014 at 10:24 am
David Burrows (4/29/2014)
Eirikur Eiriksson (4/29/2014)
Probably a string of hex values would be better, at least every character representation is then of the same length.Meh! use octal 😛
What about Base36, almost...
April 29, 2014 at 10:17 am
Sean Lange (4/29/2014)
April 29, 2014 at 9:44 am
Sean is quicker typing 😀
DECLARE @STRINGS TABLE
(
MYID INT IDENTITY(1,1) NOT NULL
,MYSTRING CHAR(4) NOT NULL
)
INSERT INTO @STRINGS (MYSTRING)
SELECT MYSTRING FROM
(VALUES...
April 29, 2014 at 9:29 am
Quick solution, you will have to sum up each row though
😎
USE AdventureWorks2012;
GO
DECLARE @TABLE_NAMESYSNAME= N'SalesOrderDetail';
DECLARE @TABLE_SCHEMASYSNAME= N'Sales';
DECLARE @SQL_STRNVARCHAR(MAX)= N''
SELECT
@SQL_STR = N'SELECT '+
STUFF((SELECT ',DATALENGTH(' + C.COLUMN_NAME + N') AS [DL_' +...
April 29, 2014 at 4:00 am
Set MIN and MAX memory to the desired number
😎
EXEC sys.sp_configure N'show advanced options', N'1' RECONFIGURE WITH OVERRIDE
GO
EXEC sys.sp_configure N'min server memory (MB)', N'4096000'
GO
EXEC sys.sp_configure N'max server memory (MB)', N'4096000'
GO
RECONFIGURE...
April 29, 2014 at 1:10 am
If you open the package (dtsx) file in a text editor, does the XML look OK?
😎
April 29, 2014 at 1:05 am
I do have plans for implementation but still kind of struggling how to fit this into the architecture. There are certain benefits but the question is more how to fit...
April 28, 2014 at 12:58 pm
I'll dig into it and let you know. Certain I have something and probably there are others that have similar, lets hope they share:-P
😎
April 28, 2014 at 12:42 pm
SQLCurious (4/28/2014)
April 28, 2014 at 11:41 am
April 28, 2014 at 5:56 am
When was the last restart? Have all procs executed since then?
😎
April 28, 2014 at 3:09 am
Viewing 15 posts - 8,446 through 8,460 (of 8,753 total)