Viewing 15 posts - 7,261 through 7,275 (of 8,760 total)
Quick thought, have a look at this page Enable Network Access Securely for MS DTC, guess this is your problem.
😎
August 30, 2014 at 9:13 am
Here is a quick "set based loop" method using an inline Tally table to count the hours.
😎
USE tempdb;
GO
DECLARE @TEST_DATA TABLE
(
TEST_DATA_ID INT IDENTITY(1,1) NOT NULL PRIMARY KEY...
August 30, 2014 at 8:48 am
Lynn Pettis (8/30/2014)
August 30, 2014 at 8:01 am
Quick thought, use a combination of replace and convert with the 110 format directive
😎
USE tempdb;
GO
DECLARE @MMDDYY VARCHAR(20) = '01 20 1950'
SELECT CONVERT(DATETIME,REPLACE(@MMDDYY,CHAR(32),CHAR(45)),110)
Result
1950-01-20 00:00:00.000
August 30, 2014 at 7:59 am
Mr.Sahand (8/30/2014)
Eric the loop in this level does not iterate the tables or any other Enumeration. It is just a simple loop.the tables' loop sits below the code shown:-)
He he,...
August 30, 2014 at 7:09 am
techmaark (8/30/2014)
Msg 7391, Level 16, State 2, Line 1
The operation could...
August 30, 2014 at 6:47 am
Quick thought, rather than a iterative for loop use foreach table in tables.
😎
August 30, 2014 at 6:35 am
And now for the Window function solution with somewhat increased verbosity in order to explain how it works. It is more efficient than the previous code as it only scans...
August 30, 2014 at 6:24 am
Here is a slightly verbose and hopefully self explanatory set based approach.
😎
USE tempdb;
GO
SET NOCOUNT ON;
/* To rebuild the table, first execute the line below by highlighting it + F5,...
August 30, 2014 at 1:29 am
Does anyone have the Crystal Ball, oops I mean Crystal Reports (help needed)
😎
August 29, 2014 at 1:18 pm
Thank you Scott, Tom and Lynn, this was the discussion I wanted to get going in this context. The subject is far to dependent on the environment and the nature...
August 29, 2014 at 1:15 pm
I agree with Luis, a while loop is not needed in this query.
😎
August 29, 2014 at 12:45 pm
Good stuff, glad you got this resolved.
This is less of a problem on 2K8 R2 and later, not certain why, just my experience. As a rule of thumb, I try...
August 29, 2014 at 12:42 pm
ScottPletcher (8/29/2014)
patrickmcginnis59 10839 (8/29/2014)
CELKO (8/22/2014)
What do you use for the PK on lookup tables?
I use the encoding that is being used. The IDENTITY property (not a column!) is the...
August 29, 2014 at 10:26 am
Within the SysInternals utility you can filter the output on a folder, the file handle will show up there during the Data Flow task execution. The question is whether SSIS...
August 29, 2014 at 10:20 am
Viewing 15 posts - 7,261 through 7,275 (of 8,760 total)