Forum: PHP Apr 25th, 2008 |
| Replies: 1 Views: 487 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 i answered a different question. Should have read the question better. mwasif got it right |
Forum: MySQL Apr 18th, 2008 |
| Replies: 7 Views: 856 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 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 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 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 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 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 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 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 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 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 Please post the results. I am curious too see which is fastest. thanks |
Forum: MS SQL Mar 9th, 2008 |
| Replies: 5 Views: 3,447 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 ... |