This is a multi-part message in MIME format.
------_=_NextPart_001_01C89A2F.239CB017
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Hi Everyone,
=20
What is the ansidate equivalent of 'now'?
=20
I'm trying to store data in a table and I need the time of storage to be
as unique as possible. The nanosecond capacity of ansidate seemed to be
the way to go. But I cant create an andsidate column with default 'now'.
=20
Furthermore, the only thing I have found is: select
timestamp_local(date('now'))\g
Trouble is, the ingresdate 'now' has no sub second capacity, and so the
returned time always has seconds.000000000.
=20
The table in question has been in existence for a long time and the
applications around it have already been built so I need something that
can be retro-fitted transparently if possible.
=20
Martin Bowes
------_=_NextPart_001_01C89A2F.239CB017
Content-Type: text/html;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml"
=
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@[EMAIL PROTECTED]
15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
..MsoChpDefault
{mso-style-type:ex****t-only;}
@[EMAIL PROTECTED]
Section1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3DEN-GB link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal>Hi Everyone,<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>What is the ansidate equivalent of =
'now'?<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>I'm trying to store data in a table and I need the =
time of
storage to be as unique as possible. The nanosecond capacity of ansidate =
seemed
to be the way to go. But I cant create an andsidate column with default =
'now'.<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>Furthermore, the only thing I have found is: select
timestamp_local(date('now'))\g<o:p></o:p></p>
<p class=3DMsoNormal>Trouble is, the ingresdate 'now' has no sub second =
capacity,
and so the returned time always has seconds.000000000.<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>The table in question has been in existence for a =
long time
and the applications around it have already been built so I need =
something that
can be retro-fitted transparently if possible.<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>Martin Bowes<o:p></o:p></p>
</div>
</body>
</html>
------_=_NextPart_001_01C89A2F.239CB017--


|