perjantai 12. lokakuuta 2007

What is my current URL?

<script language="Javascript">
function x(){
var a;
a=window.location.href;
a=a.replace('file:///','');
//document.getElementById('MyLoc').innerHTML=a;
//document.write(a);
}
</script>
<!-- if used innerHTML
<body onload="x();">
<span id="MyLoc">!!!</span>
else
<body>
-->

tiistai 2. lokakuuta 2007

ingresII 2.6 import export

db dump :: INGRES :: EXPORT

c:\temp\copydb -uUSERNAME vnode::database
c:\temp\sql -uUSERNAME vnode::database copyout.log

copies to c:\temp -folder lots of ingres-tables / files.

db dump :: INGRES :: IMPORT

c:\temp\copydb -uUSERNAME vnode::database
c:\temp\sql -uUSERNAME vnode::database copyin.log

copies c:\temp -folder ingres-tables / files (*) back to db.
remember to check file folders in Copy.in -file to make sure they're ok.