Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit f856a29

Browse files
Merge pull request #28714 from rajeshsetlem/patch-29
Patch 29
2 parents 4a4ae8e + e370153 commit f856a29

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

azure-sql/database/database-copy.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ Start copying the source database with the [CREATE DATABASE ... AS COPY OF](/sql
9191

9292
> [!NOTE]
9393
> Terminating the T-SQL statement doesn't terminate the database copy operation. To terminate the operation, drop the target database.
94-
>
95-
> Database copy using T-SQL isn't supported when connecting to the destination server over a [private endpoint](private-endpoint-overview.md). If a private endpoint is configured but public network access is allowed, database copy is supported when connected to the destination server from a public IP address using SQL authentication. Once the copy operation completes, public access can be [denied](connectivity-settings.md#deny-public-network-access).
9694
9795
### Copy to the same server
9896

@@ -134,6 +132,9 @@ CREATE DATABASE Database2 AS COPY OF server1.Database1;
134132
> [!IMPORTANT]
135133
> Both servers' firewalls must be configured to allow inbound connection from the IP of the client issuing the T-SQL CREATE DATABASE ... AS COPY OF command. To determine the source IP address of current connection, execute `SELECT client_net_address FROM `sys.dm_exec_connections` WHERE session_id = @@SPID;`
136134
135+
> [!NOTE]
136+
> Database copy using T-SQL isn't supported when connecting to the destination server over a [private endpoint](private-endpoint-overview.md). If a private endpoint is configured but public network access is allowed, database copy is supported when connected to the destination server from a public IP address using SQL authentication. Once the copy operation completes, public access can be [denied](connectivity-settings.md#deny-public-network-access).
137+
137138
Similarly, the below command copies `Database1` on server1 to a new database named `Database2` within an elastic pool called pool2, on server2.
138139

139140
```sql

0 commit comments

Comments
 (0)