Viewing 15 posts - 6,916 through 6,930 (of 8,760 total)
djj (9/29/2014)
I tell them they should only store a standardized value. A prime example of...
September 29, 2014 at 11:01 pm
Sean Lange (9/29/2014)
Koen Verbeeck (9/29/2014)
Hire an overpriced consultant. Chances are they'll listen to him/her...
The problem is these overpriced consultants are also full of overpriced crappy code. These are the people...
September 29, 2014 at 10:59 pm
Quick suggestion for simplification
π
USE tempdb;
GO
SET NOCOUNT ON;
DECLARE @REPORT_MONTHS INT = 6;
DECLARE @NOW ...
September 29, 2014 at 10:44 pm
Quick suggestion to get you started
π
USE tempdb;
GO
SET NOCOUNT ON;
;WITH SAMPLE_DATA(Location,Building,RoomName,Habitant )AS
(SELECT * FROM (VALUES
('USA','White House','Oval Office','Mickey Mouse')
,('UK','Whitehall','24hour Lounce','Donald Duck')
) AS X(Location,Building,RoomName,Habitant)
)
SELECT
'group' AS '@type'
...
September 29, 2014 at 1:57 pm
Thanks Steve for this question, it highlights the issue with RAND documentation, which ironically is more random in Books Online than the actual output of the function itself. Or as...
September 29, 2014 at 1:06 am
Not certain what you are asking for but IΒ΄ll throw in some explanation. Column names cannot be changed during the execution, changing the column name must then be an action...
September 28, 2014 at 1:38 pm
Quick question, which SQL Server Version are you onΓ
π
September 28, 2014 at 1:24 pm
Edit: not working.
An alternative window function based solution
π
USE tempdb;
GO
SET NOCOUNT ON;
DECLARE @CHANGE_TYPE VARCHAR(50) = 'Change1';
;WITH SAMPLE_DATA(CustomerID,ChangeType,OldValue,NewValue,TimeStamp) AS
( SELECT CustomerID,ChangeType,OldValue,NewValue,CONVERT(SMALLDATETIME,TimeStamp,0) FROM
(VALUES
...
September 28, 2014 at 5:43 am
Post the full and complete code you are running, including source definition, source query, insert statement and the destination table definition. Don't leave anything out!
π
September 28, 2014 at 3:25 am
The change is simple, the sequence needs to be shifted so it starts counting at zero instead of one as otherwise it counts the night when it ends not when...
September 27, 2014 at 5:15 pm
Thank you for the question Iulian. Fortunately we have come a long way from default sa accounts with no password, rpc wide open, early WebDav and other such horrors, still...
September 26, 2014 at 9:04 pm
Alexander Suprun (9/26/2014)
Eirikur Eiriksson (9/26/2014)
Quick though, use the object_definition function, that is the same as the system views use.If it's the same, then what's the point?
Straigt from the source;-)
π
September 26, 2014 at 2:15 pm
Quick though, use the object_definition function, that is the same as the system views use. Don't recall that I changed any settings on the system I'm using, brings back everything...
September 26, 2014 at 1:53 pm
My 2 Cents: The SQL Server database platform is probably the most mature product Microsoft offers, some of the other components of the sQL Server Stack are less so. It...
September 26, 2014 at 12:36 am
aashish.khn (9/25/2014)
Yeah I am trying to learn that right now. I was wondering if I can save those address as sql table and call those address in ssis
That is straight...
September 26, 2014 at 12:16 am
Viewing 15 posts - 6,916 through 6,930 (of 8,760 total)