This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DROP VIEW LDW.vwFactSales; | |
GO | |
CREATE VIEW LDW.vwFactSales | |
AS | |
SELECT *, | |
CAST(fct.filepath(3) AS DATE) AS SalesOrderPathDate | |
FROM | |
OPENROWSET | |
( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//create the message structure | |
WebVisitMessage webvisitmessage = new WebVisitMessage | |
{ | |
SessionID = SessionID, | |
EventType = "visitwebsite", | |
EventDateTime = dateincrement, | |
URL = URL, | |
Device = device | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT DATALENGTH(20120101), | |
DATALENGTH(CAST(20120101 AS INT)) |