批量插入的外部数据源有效多长时间? [英] How long is the external data source for bulk insert valid for?

查看:104
本文介绍了批量插入的外部数据源有效多长时间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello





我有一个应用程序,我正在编写执行批量插入操作。





我明白要访问我的Blob存储中的文件我需要创建一个外部数据源创建  数据库
范围凭证,使用 
共享访问签名   identity  。$





我的问题是,外部数据源在创建后有效多长时间?一旦创建连接就会在连接中断时它是否会停止存在它会持续下去直到你放弃它?





我想避免每次进行批量插入时检查它是否存在。这将帮助我确定何时创建它以及何时更改它和/或放弃它。





谢谢。






解决方案

这取决于共享访问签名(SAS)密钥,用于从数据库中提供对Blob存储帐户的临时访问。这是暂时的,因为密钥仅在特定时间段(开始时间和结束时间)有效, 
  它将过期且无法用于访问您的blob存储帐户。


您可能必须检查类似的查询
在这里
。如果您需要任何进一步的帮助,请告诉我们。


Hello


I have an application that I'm writing to perform Bulk Insert operations.


I understand that to access files in my Blob Storage I need to create an external data source created database scoped credential that uses the SHARED ACCESS SIGNATURE identity .


My question is, how long is the external data source valid for after creating? Does it cease to exist when the connection dies on once you create it it lasts until you drop it?


I want to avoid checking if it exists each time I do a bulk insert. This will help me determine when to create it and when to alter it and/or drop it.


Thanks.



解决方案

It depends on Shared Access Signature (SAS) key, which is used to provide temporary access to your Blob storage account from your database. The reason it is temporary because the key is valid only for a certain time period(Start time and End time) ,  which it would expire and cannot be used to access your blob storage account.

You may have to check the similar query here. Let us know if you need any further help on this.


这篇关于批量插入的外部数据源有效多长时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆