I have a cloumn nDays type nVarchar(50)in a table
some entries are like "1 & 2" and some are single numbers like "12" or "1".
If I execute "SELECT news.nDays FROM News ORDER BY nDays"
it orders the results by the leading digit.
For example, five rows...
I know that a sql functin should return a value of -1,0 or 1, but I have no been able to use it to validate whether a process has completed syuccessfully.
Example:
sql = "UPDATE tblNum t WHERE t.num = '"&num&"'"
verify = conn.execute(sql)
-- OR preferably--
is there a...
I am trying to extract a phone number from a text string,
display the first part of string before the phone number, then the second part, then the phone number.
I am first splitting the the string:
text = cstr(rsAd("adtext"))
aryTxt = split(text," ")
then am looping to find...
I inherited a PERl/PHP(and I am not familiar with) site and am getting an error when looking for a querystring value.
the original HREF is like:
<A class=listLink
href="artist_frame.shtml?artist_id=10"
target=cag_content>Artist 10</A>
and the code on the recieving page is...
I inherited a PERl/PHP(and I am not familiar with) site and am getting an error when looking for a querystring value.
the original HREF is like:
<A class=listLink
href="artist_frame.shtml?artist_id=10"
target=cag_content>Artist 10</A>
and the code on the recieving page is:
$id =...
I have the following code...
IF
EXISTS (SELECT Address.AD_ID FROM Address WHERE Addr_ID = '319' AND AD_ID = '1')
THEN
UPDATE Address SET Street = 'Street1',City = 'City1',ST = 'ST1',ZIP = 'ZIP1',Phone = 'Phone1'
WHERE Addr_ID = '319' and Ad_ID = '1';
ELSE
INSERT INTO...
I am interfacing with a program that returns data in a textfile. I am able to enter a query in the format of {tablename.field}^{tablename.field}|.
I am trying to automate the process using DTS but I get a prompt that it(DTS) can not find the row delimiter (|), but if I click through and...
I am doing an insert on an ASP page, and not able to insert a value in to a column with a datatype of 'Money'.
I have tried several different ways of doing it, but get the same result with all.
Here is the ASP part of geting the variable value:
ResCost = request("Reservation_Cost")...
I modified a mortgage calculator to amortize based on the starting month. The logic is fine and everything works nice in IE, but the algorythm gets hung in Netscape. Can anyone identify if one of the methods or functions is erroneous.
Whole code for the page is included...
<HTML>
<HEAD>...
I wrote this snippet for an expandable directory listing and it returns a JAVASCRIPT ERROR:
Line 64:
Char 8
Error: Coould not get the Visibility property. Wrong argument
Here is the code:
<HTML>
<HEAD>
<TITLE>My Drop Down</TITLE>
<SCRIPT LANGUAGE=javaScript>
<!--
//First DropDown Menu...
i am getting an error on an insert and when I look at the table I can't find (where) this restraint lives or how to get arouond it.
Here is the error:
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC SQL Server Driver][SQL Server]INSERT statement conflicted with...
There must be an easier way to get the same rsults from this lengthy query. I am trying to return the average of each column excluding rows that contain the value '0'. this is on ASP page, but the SQl is more my issue.
strSQL = "SELECT count(*) as Rows,sum(q1) as sq1,sum(q2) as...
I have an ASP app that interfaces with an app that returns its results in XML. I have had a randomly recurring problem with the server returning an "Object Required" error message regarding my "TopNode" which is the XMLDoc.FirstChild. I have tried various ways of error...
In an ASP page I am trying to use rs.absolutepage but continually get
ADODB.Recordset error '800a0cb3'
Object or provider is not capable of performing requested operation.
/classified search/basicCS.asp, line 90
I installed the latest sevice pak for JET(service pack 6.0) on the server...
In an ASP page I am trying to use rs.absolutepage but continually get
ADODB.Recordset error '800a0cb3'
Object or provider is not capable of performing requested operation.
/classified search/basicCS.asp, line 90
I installed the latest sevice pak for JET(service pack 6.0) on the server...
This might be lengthy, but I was reading CoolCoders' Post & Slr22s' post, but could not apply those responses to my problem. I am loading a table weekly from a .txt file generated by an application. It is on an ASP page, but does not necessarily have to stay there. I get through 5 inserts...
I have general question regarding cached scripting engines & memory usage. We are running IIS5 with windows 2000 server. I have this one app that we launched 3-4 weeks ago, that a specific object genreates a "object required" error message about 5% of the time. When asking someone...
I am trying to create a recordset from a textfile.
I have imported and seperated the records in the text file:
Set fs=Server.CreateObject("Scripting.FileSystemObject")
Set f=fs.OpenTextFile(Server.MapPath("penny.txt"), 1)
do while f.AtEndOfStream = false
ad= f.ReadLine...
I do not have much experience with SQl but...
I am running sql server 2000 and am trying to import a text file that looks like:
|Lots-Land & Acreage|,|02/26/2003|,|03/12/2003|,||,||,||,|250,000|,
|HOPEWELL|,|Beautiful Farm Land, lakes, streams, lots of animals.|,||
I have tried the import...
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.