Search Results

Showing results 1 to 8 of 8
Search took 0.01 seconds.
Search: Posts Made By: AaronASterling
Forum: JavaScript / DHTML / AJAX Apr 15th, 2008
Replies: 24
Views: 8,217
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: JavaScript / DHTML / AJAX Apr 6th, 2008
Replies: 9
Views: 6,102
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: 9
Views: 6,102
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: 5
Views: 3,560
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 7th, 2008
Replies: 7
Views: 863
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: 863
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: Computer Science Feb 27th, 2008
Replies: 6
Views: 1,449
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,449
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
(
Showing results 1 to 8 of 8

 


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

©2003 - 2009 DaniWeb® LLC