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
--BD tables need to exist on the destination. Run EntWin/website against it first | |
DECLARE @source_prefix nvarchar(4000) = 'Data_BDMaster.dbo.' | |
DECLARE @dest_prefix nvarchar(4000) = 'Data_001.dbo.' | |
declare @tables table(table_name nvarchar(4000)) | |
insert into @tables values | |
('BDFieldValues'), | |
('BDCountriesAudit'), |
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
----first in script | |
var ShipViaDeliveryOptions = ko.observableArray(); | |
//var ShipViaDeliveryOptions = ko.observableArray(ShipViaDeliveryOption); | |
var updateShipViaDeliveryOptions = function() { | |
$BDSW.jsonfactory({ | |
method: 'CartUpdateShipViaDeliveryOptions', | |
data: { | |
'ShipViaCode': $cmbShipVia.val() | |
}, | |
success: function (data) { |
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
open System | |
//leaderboard #1 | |
let leaderboard1 = | |
let ln = System.Console.In.ReadLine //;; | |
[1..(int (ln()))] |> List.map (fun x-> ln().Split([|' '|]) |> Array.map int |> Array.reduce (+)) |> List.iter System.Console.WriteLine | |
//leaderboard #2 | |
let leaderboard2 = |