是否可以使用立即执行来限制批量收集?
我有下面的脚本,但在使用 LIMIT 时出现错误。
declare
v_query varchar2(3000);
begin
v_query := 'select 1 from dual' -- this is just a sample query.
execute immediate v_query
bulk collect into table1 --table type
end;
Run Code Online (Sandbox Code Playgroud)
如果我的代码无法实现限制,有什么解决方法吗?
谢谢!
已经尝试解决这个问题几个小时了。已经在网上搜索并按照教程进行操作,但没有任何效果。
在我的 Windows 本地计算机中,我在 VSCode 中安装了远程 SSH 插件。我正在尝试连接到我的远程 Linux 服务器。
我的配置文件如下所示(为了安全起见,将主机名和用户更改为虚拟值)。
Host RemoteServer
HostName remote.server.infra
User user123
IdentityFile ~/.ssh/privkey
Run Code Online (Sandbox Code Playgroud)
尝试连接到新主机时。一直提示输入密码。根据检查日志,它说
no such identity: C:\\Users\\user123/.ssh/privkey: No such file or directory
Run Code Online (Sandbox Code Playgroud)
这个 privkey 文件正是我在连接到远程服务器时在 Putty 中使用的文件。我缺少什么?
编辑:终于弄清楚了。我必须使用 puttygen 将我的私钥转换为 openssh 格式。