Search Results

Showing results 1 to 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: AaronASterling ; Forum: MS SQL and child forums
Forum: MS SQL Apr 12th, 2008
Replies: 2
Views: 784
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: MS SQL Mar 9th, 2008
Replies: 4
Views: 2,388
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,480
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,388
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: MS SQL Mar 7th, 2008
Replies: 7
Views: 850
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: 850
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. ...
Showing results 1 to 6 of 6

 


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

©2003 - 2009 DaniWeb® LLC