Search Results

Showing results 1 to 31 of 31
Search took 0.01 seconds.
Search: Posts Made By: AaronASterling
Forum: PHP Apr 25th, 2008
Replies: 1
Views: 487
Posted By AaronASterling
sure....probably....kinda. You just need to read the data out of the source table in the old database and write it into the new table in the new database. Thats the "sure" part of the answer. the...
Forum: MySQL Apr 18th, 2008
Replies: 7
Views: 856
Posted By AaronASterling
i answered a different question. Should have read the question better. mwasif got it right
Forum: MySQL Apr 18th, 2008
Replies: 7
Views: 856
Posted By AaronASterling
Oh. So thats what it feels like to look like an idiot. I forget if I go more then 20 minutes without putting my foot in my mouth. I'll read more carefully next time
Forum: JavaScript / DHTML / AJAX Apr 16th, 2008
Replies: 6
Views: 1,675
Posted By AaronASterling
function modifyObject(o) {
o.value = 'Bullocks to that';
return o;
}

obj = new Object();
alert((modifyObject(obj)).value);
Forum: JavaScript / DHTML / AJAX Apr 15th, 2008
Replies: 24
Views: 7,948
Posted By AaronASterling
I can see right off the bat that you are missing the closing curly brace for the function definition in the onload event handler of the body. Plus it is missing quotes. After i fix that i just get...
Forum: MS SQL Apr 12th, 2008
Replies: 2
Views: 780
Posted By AaronASterling
This forum is for MySQL. an open source SQL server. This post belongs in the MS SQL forum. They will have your answer. But you could try sqlcmd if the command line doesn't scare you. It should...
Forum: MySQL Apr 12th, 2008
Replies: 7
Views: 856
Posted By AaronASterling
if they are all coming from a single table...call it testTable... then you would just say


SELECT location1, location2, location3 FROM testTable WHERE ....

and then you can fill in whatever...
Forum: JavaScript / DHTML / AJAX Apr 12th, 2008
Replies: 2
Views: 1,401
Posted By AaronASterling
Or maybe something along the lines of


Function EnableRadioButtons ( array Elements )
if (button of interest is checked) {
For each Element in Elements
Set Element Enabled...
Forum: JavaScript / DHTML / AJAX Apr 12th, 2008
Replies: 6
Views: 1,675
Posted By AaronASterling
Ok...when i change the line this.value = this.dummy(value) to this.value = this.prototype.dummy(value) the code runs. Does anybody have any idea what this is about? isn't the point of the prototype...
Forum: JavaScript / DHTML / AJAX Apr 12th, 2008
Replies: 6
Views: 1,675
Posted By AaronASterling
Hello,

I am messing around with javascript. I am trying to create a function to which i can pass a constructor and recieve back an object. Kinda (read exactly) like the new keyword. call it a...
Forum: JavaScript / DHTML / AJAX Apr 6th, 2008
Replies: 6
Views: 5,322
Posted By AaronASterling
Sorry mate, my earlier comments would have nothing to do with why your script fails. I was just pointing out general coding style. never rely on semi-colen insertion. as to your problem...

in...
Forum: JavaScript / DHTML / AJAX Apr 6th, 2008
Replies: 6
Views: 5,322
Posted By AaronASterling
Also you seem to be relying on the javascript semi-colon insertion "feature". the language does require semi-colons at the end of every statement. It's just that it will supply them for you if you...
Forum: MS SQL Mar 9th, 2008
Replies: 4
Views: 2,380
Posted By AaronASterling
Please post the results. I am curious too see which is fastest. thanks
Forum: MS SQL Mar 9th, 2008
Replies: 5
Views: 3,447
Posted By AaronASterling
Give this a shot from within sqlcmd or osql....



EXEC sp_addumpdevice 'DISK', 'MyBackupToFTPland', 'DirectoryYouCanFTPFrom\backup.bak'

BACKUP DATABASE yourdatabase
TO MyBackupToFTPLand
Forum: MS SQL Mar 8th, 2008
Replies: 4
Views: 2,380
Posted By AaronASterling
Cursors are slooowwwwwww. you can add the ON DELETE CASCADE option to the foreign key in the sale_detail and sale_address tables. This makes it so that whenever you delete an entry in the parent...
Forum: Database Design Mar 7th, 2008
Replies: 2
Views: 744
Posted By AaronASterling
HELLOOOOOO THERREEEE!!!! IT SOUNDS LIKE YOU WANT SEPERATE TABLES IF THE COLUMNS ARE ALL LINKED TO EACH OTHER!!!! YOU SHOULD COME CLOSER SO WE DON"T HAVE TO YELL!!!
Forum: MS SQL Mar 7th, 2008
Replies: 7
Views: 848
Posted By AaronASterling
It seems to be exactly what the original poster wanted. What exactly do you mean by 'its a static solution?' Wouldn't any query need to be recalculated every time to ensure accurate real time...
Forum: MS SQL Mar 7th, 2008
Replies: 7
Views: 848
Posted By AaronASterling
You want something like:

SELECT columnyouwant1,...,columnyouwantn, rowcount = COUNT(B.ForeignKey)
FROM TableB AS B
GROUPBY B.ForeignKey


Load that into a temporary table. lets call it T. ...
Forum: Database Design Mar 6th, 2008
Replies: 6
Views: 2,711
Posted By AaronASterling
One last thing. If there is enough information to calculate the overall mark from the database then you might want to go ahead and do it as it is part of the notion of a normalized relational...
Forum: Database Design Mar 6th, 2008
Replies: 2
Views: 757
Posted By AaronASterling
Sounds like a bad design to me. I am not familiar with foxpro but i would say that it is stupid to have to download the whole data base for any look up. it defeats the point of having a server. ...
Forum: VB.NET Mar 5th, 2008
Replies: 8
Views: 1,522
Posted By AaronASterling
I am not so familiar with ce but i would say try


IF OBJECT_ID(tablename) IS NULL
CREATE table
(
...
)
Forum: Database Design Feb 28th, 2008
Replies: 6
Views: 2,711
Posted By AaronASterling
First off, the only two tables that are in any sort of normal form are Students and Subjects.
The others do not have a primary key. Secondly, you are repeating information from the StudentSubjects...
Forum: Computer Science Feb 27th, 2008
Replies: 6
Views: 1,433
Posted By AaronASterling
To be honest, I am not entirely sure. I do not believe that it would help with search speed in this example. It seems to be standard practice that every table have an IDENTITY column that serves...
Forum: Computer Science Feb 25th, 2008
Replies: 6
Views: 1,433
Posted By AaronASterling
I think you want to introduce a third table.

CREATE TABLE Moves
(
MoveID int IDENTITY NOT NULL PRIMARY KEY,
Date datetime NOT NULL
)

CREATE TABLE Items
(
Forum: Legacy and Other Languages Feb 24th, 2008
Replies: 1
Views: 10,804
Posted By AaronASterling
The solution that I found is


UPDATE Test1
SET Value = Value + t2vs
FROM Test1 t1
INNER JOIN (SELECT Value, t2vs = SUM(Value)
FROM Test2 t2
GROUP BY...
Forum: Legacy and Other Languages Feb 24th, 2008
Replies: 1
Views: 10,804
Posted By AaronASterling
Hello,

I am new to SQL. I assume that this is very simple. I have had trouble understanding the
relevant example in the BOL as my installation (Express edition) does not seem to have the...
Forum: VB.NET Dec 28th, 2007
Replies: 2
Views: 5,214
Posted By AaronASterling
Thanks for the reply. I edited this starter w/out realizing that it would start a new thread. The solution I came up with on the other thread was too just treat the HTML as XML and parse it that...
Forum: VB.NET Dec 24th, 2007
Replies: 0
Views: 1,563
Posted By AaronASterling
Hello All,


I have a user define class,



<Serializable()> Public Class City

Public Name As String = ""
Forum: VB.NET Dec 22nd, 2007
Replies: 3
Views: 2,758
Posted By AaronASterling
I figured out that I can do what I need wtih the system.XML namespace and httpwebrequest/response.
Forum: VB.NET Dec 21st, 2007
Replies: 3
Views: 2,758
Posted By AaronASterling
Hi,

I am new to VB. I am trying to parse an html file. I would like not to use a WebBrowser control because it seems like overkill. The HtmlDocument class appears not to work outside of a...
Forum: VB.NET Dec 21st, 2007
Replies: 2
Views: 5,214
Posted By AaronASterling
Hi,

I am new to VB. I am trying to parse an html file. I would like not to use a WebBrowser control because it seems like overkill. The HtmlDocument class appears not to work outside of a ...
Showing results 1 to 31 of 31

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC