我正在尝试在Firebird数据库中运行SQL查询。我已经在本地开发环境中恢复了备份。
我的错误如下:
body {
margin: auto 0;
/* background-color:rgb(231,232,233); */
font-family: 'Open Sans', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Lato', sans-serif;
}
h1 {
font-size:2em;
}
nav {height:10vh;}
.mainnav {
list-style:none;
display:flex;
margin: 0;
background-color:white;
font-size:1em;
overflow:hidden;
position:fixed;
top:0;
width:100%;
justify-content: flex-end;
/* opacity:0.5; */
}
.navitem {
padding-top:2%;
padding-bottom:2%;
padding-right:6%;
padding-left:1%;
transition: background-color 0.3s linear;
}
.navitem:hover {
background-color:red;
}
.navitem a {
transition: color 0.3s linear;
text-decoration:none;
color:black;
text-align:center;
}
.navitem a:hover {color:white;}
#tagline {
text-align:center;
font-family:"Lato";
font-size:2em;
margin-bottom:1%;
color:black;
background-color:#ededed;
padding-bottom:0.5%;
padding-top:0.2%;
border-top:3px solid red;
}
.title {
margin-right:auto;
padding: 1% 6% 1% 1%;
margin-top:auto;
margin-bottom:auto;
}
.title img {
height:50px;
padding-right: 10px;
}
.fade {
-webkit-animation-name: fade;
-webkit-animation-duration: 1.5s;
animation-name: fade;
animation-duration: 1.5s;
}
@-webkit-keyframes fade {
from {opacity: .2}
to {opacity: 1}
}
@keyframes fade {
from {opacity: .2}
to {opacity: 1}
}
.headerimg {
max-height:400px;
width:100%;
}
要检查该功能是否存在,请运行以下命令:
<!DOCTYPE html>
<html>
<head>
<title>Testing Testing</title>
<link rel="stylesheet" type="text/css" href="./style.css">
<meta charset="UTF-8">
</head>
<body>
<nav>
<ul class="mainnav">
<li class="title"><img src="logo1.png"><p style="float:right;"><strong>Testing Testing</strong></p></li>
<li class="navitem"><a href="#">Início</a> </li>
<li class="navitem"><a href="about.html">Sobre nós</a> </li>
<li class="navitem"><a href="produtos.html">Produtos</a> </li>
<li class="navitem"><a href="contactos.html">Contactos</a> </li>
</ul>
</nav>
<header style="width:100%;text-align:center;">
<img class="headerimg fade" src="http://demo.qodeinteractive.com/central/wp-content/uploads/2013/05/header.jpg" >
<img class="headerimg fade" src="https://www.freewebheaders.com/wordpress/wp-content/gallery/clouds-sky/clouds-sky-header-2063-1024x300.jpg" >
<img class="headerimg fade" src="https://cdn.pixabay.com/photo/2016/08/05/09/31/banner-1571858__340.jpg" >
</header>
<div id="tagline">
<strong>LOREM IPSUM</strong>
</div>
<script type="text/javascript" src="./scripts.js"></script>
</body>
</html>
如何正确调用该函数?欢迎任何提示!
答案 0 :(得分:2)
答案 1 :(得分:2)
在数据库中定义了UDF的事实并不意味着UDF 存在。 UDF既需要数据库中的定义,又需要磁盘上的本地库(.dll / .so),其中包含UDF函数的代码。
该错误表示要么
firebird.conf
(设置UdfAccess
)中定义包含该库的文件夹另请参阅invalid request BLR at offset 163
Firebird本身没有称为STRTOINT
的UDF,因此您需要找出它是哪个第三方库,并正确安装它。