Shary,<div><br></div><div>Would this work for you?</div><div><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Date.html">http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Date.html</a></div><div><br>
</div><div>The way you create this type of variable is simple. You know how when you create a new Date variable, you select Date from the drop downlist, or maybe type it in directly? Well, with this new type, you have to type it in once, just the first time, then subsequent times you will be able to select it from the drop down.</div>
<div><br></div><div>Could you try this:</div><div><br></div><div>1. Keep your current Date variable</div><div>2. Make a new variable of type java.sql.Date setting its initial value to null</div><div>3. Just before writing to the DB, use a Set step to cast the Date variable to your new java.sql.Date variable</div>
<div>4. Use the new java.sql.Date variable in your DB step</div><div><br></div><div>I haven't tested this, so I'm not sure if it will get you where you need to be, but it's a start.</div><div><br></div><div>It's hard not having my own private lab setup anymore. =( </div>
<div><br></div><div>Anthony<br><br><div class="gmail_quote">On Mon, Nov 14, 2011 at 8:56 AM, shary shary <span dir="ltr"><<a href="mailto:shaary1@hotmail.com">shaary1@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div dir="ltr">
Having another challenge, i am getting UCCX current date using D[now] but need to forward this date to SQL through Write Query and the format i have through D[now] doesn't work with SQL so i need to change this format to SQL Format and then need to store in some variable so i can push the date towards SQL DB. I am stuck to make format or equation, appreciate any quick response.<div>
<br></div><div><br><font face="Lucida Handwriting, Cursive" color="#0000ff" style="font-family:Tahoma">Regards</font><font color="#0000ff" face="'Lucida Handwriting'"><br></font></div> </div></div>
<br>_______________________________________________<br>
cisco-voip mailing list<br>
<a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
<a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br>
<br></blockquote></div><br></div>