You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/synapse-analytics/get-started-analyze-sql-pool.md
+47-42Lines changed: 47 additions & 42 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,49 +38,54 @@ A dedicated SQL pool consumes billable resources as long as it's active. You can
38
38
1. Select the pool 'SQLPOOL1' (pool created in [STEP 1](./get-started-create-workspace.md) of this tutorial) in 'Connect to' drop down list above the script.
IF NOT EXISTS (SELECT * FROM sys.objects O JOIN sys.schemas S ON O.schema_id = S.schema_id WHERE O.NAME = 'NYCTaxiTripSmall' AND O.TYPE = 'U' AND S.NAME = 'dbo')
42
+
CREATE TABLE dbo.NYCTaxiTripSmall
43
+
(
44
+
[DateID] int,
45
+
[MedallionID] int,
46
+
[HackneyLicenseID] int,
47
+
[PickupTimeID] int,
48
+
[DropoffTimeID] int,
49
+
[PickupGeographyID] int,
50
+
[DropoffGeographyID] int,
51
+
[PickupLatitude] float,
52
+
[PickupLongitude] float,
53
+
[PickupLatLong] nvarchar(4000),
54
+
[DropoffLatitude] float,
55
+
[DropoffLongitude] float,
56
+
[DropoffLatLong] nvarchar(4000),
57
+
[PassengerCount] int,
58
+
[TripDurationSeconds] int,
59
+
[TripDistanceMiles] float,
60
+
[PaymentType] nvarchar(4000),
61
+
[FareAmount] numeric(19,4),
62
+
[SurchargeAmount] numeric(19,4),
63
+
[TaxAmount] numeric(19,4),
64
+
[TipAmount] numeric(19,4),
65
+
[TollsAmount] numeric(19,4),
66
+
[TotalAmount] numeric(19,4)
67
+
)
68
+
WITH
69
+
(
70
+
DISTRIBUTION = ROUND_ROBIN,
71
+
CLUSTERED COLUMNSTORE INDEX
72
+
-- HEAP
73
+
)
74
+
GO
72
75
73
-
COPY INTO [dbo].[Trip]
74
-
FROM 'https://nytaxiblob.blob.core.windows.net/2013/Trip2013/QID6392_20171107_05910_0.txt.gz'
0 commit comments