How do I submit a form variable from a parent window to a pop-up window. I am not using any buttons on the parent window. I have a hyperlink using <a href...
My code looks like this:
<a href='Rep.asp' onclick= javascript: Go('3');window.open('Rep.asp'); document.frm.submit; return...
You mean my stored procedure works, but I need to check for uniqueness ... Is it so PHV?
Everytime , I generate a random number I need to check in the stored procedure, if it is already generated(in other words, if it is in the database). Could you help me with the SP...
Declare @Random...
Does this generate a unique random number between
1000 and 1 trillion ?
You are multiplying the random number by 1000000, what are the odds that it does not generate the same number again..
MyNumber = Rnd()
I am trying to generate unique random number between 1000 and 1000,000,000,000 (trillion) to insert into a unique field in the SQL database . How do I achieve this?
code in VBScript or a stored procedure will do.
My current code in the stored proc is as follows:
Declare @Random bigint...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.