CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 10:35:04 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=727c01b060d33eab2be6bc0b2f87fe388d1a5abd63dea06a378b3fdd2808be81a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22I2eOhcjrp4zeoUd_3x7lG_RIbEcAhlvP%22%3B%7D; HttpOnly; Path=/
cf-ray: 98cdb564ecada9b7-BLR
10. hierarchyid 2 - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Tworzenie zmiennych dla współrzędnych geograficznych i geometrycznych
- DECLARE @latitude DECIMAL(9, 6), @longitude DECIMAL(9, 6);
- DECLARE @point GEOMETRY;
- DECLARE @hierarchy HIERARCHYID;
- DECLARE @device_description XML;
- -- Pętla wypełniająca tabelę
- DECLARE @i INT = 1;
- WHILE @i <= 50
- BEGIN
- -- Generowanie losowych danych dla każdej kolumny
- SET @latitude = RAND() * 180 - 90;
- SET @longitude = RAND() * 360 - 180;
- SET @point = GEOMETRY::Point(@latitude, @longitude, 4326);
- SET @hierarchy = HIERARCHYID::GetRoot();
- SET @device_description = '<description>Device ' + CAST(@i AS NVARCHAR(5)) + '</description>';
- -- Wstawianie danych do tabeli
- INSERT INTO Renewable_Energy_Devices (device_id, device_status, device_power, company_id, device_location, device_location_geom, device_hierarchy, device_description)
- VALUES (
- 'Device_' + CAST(@i AS NVARCHAR(5)), -- device_id
- CAST(RAND() * 6 AS INT), -- device_status
- CAST(RAND() * 1000 AS DECIMAL(18, 0)), -- device_power
- CAST(RAND() * 10 AS INT) + 1, -- company_id
- GEOGRAPHY::Point(@latitude, @longitude, 4326), -- device_location
- @point, -- device_location_geom
- @hierarchy.GetDescendant(NULL, NULL), -- device_hierarchy
- @device_description -- device_description
- );
- SET @i = @i + 1;
- END;
Advertisement
Add Comment
Please, Sign In to add comment
-
✅⭐ Make huge profits on trading ⭐⭐ 6
JavaScript | 2 sec ago | 0.24 KB
-
⭐✅ Marketplace Glitch ✅ Working ✅ NEVER SEEN...
JavaScript | 2 sec ago | 0.24 KB
-
✅⭐ Make $2500 in 15 minutes ✅ NEVER SEEN BEFO...
JavaScript | 11 sec ago | 0.24 KB
-
✅ Make $2500 in 20 minutes⭐⭐⭐ 9
JavaScript | 12 sec ago | 0.24 KB
-
⭐✅ Exploit 2500$ in 15 Minutes⭐⭐⭐ D
JavaScript | 20 sec ago | 0.24 KB
-
⭐⭐⭐ G2A Payment Exploit ✅ NEVER SEEN BEFORE ⭐...
JavaScript | 22 sec ago | 0.24 KB
-
⭐✅ MAKE $2500 IN 15 MIN ✅ NEVER SEEN BEFORE ⭐...
JavaScript | 31 sec ago | 0.24 KB
-
Free Crypto Method (NEVER SEEN BEFORE)⭐⭐ 5
JavaScript | 31 sec ago | 0.24 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand