Code: Select all
UPDATE customer
SET Email = null
WHERE Email is NOT NULL
It's taken over 3.5 hours now and still going... can anyone give an estimation on how much longer this statement should run?
Code: Select all
UPDATE customer
SET Email = null
WHERE Email is NOT NULL
CC Leader: n haz thsi time it wasnt ur fault
Bralor wrote:hey haz how long do you estimate until someone blames you and masses HVE again?
Field Marshall wrote:On a seperate issue - where is Haz? He's the glue we really need right now!
SuperSaiyan wrote:I'm a staff member so naturally I'm used to unjustified abusive commentary, so really I don't mind
Zeratul wrote:Ĕɱƿŷ wrote:So I heard that when becoming a moderator you are subjected to hours and hours of "The Forum is good, the Forum is great, we surrender our will as of this date".
that is incorrect... nothing resembling prostration...
Forced labor on the other hand........
SuperSaiyan says (2:04 PM):
*that was kernal potter
*colonel
*wow I just made that typo
SuperSaiyan says (2:05 PM):
*no one will speak of this
*or I take muff's veggies away
*and he starves
Hope says (2:59 AM):
*hypothetically, how bad would it be if i descended someone... but forgot to Godquest them first, and they're active, and in an active alliance...
Hope says (3:00 AM):
*hypothetically...
Murris says (3:00 AM):
*ah **Filtered** why am i descended....
Angnoch Freddie says:
i hate being a mod...
i just wanted the blue color XD
Field Marshall wrote:Really?Sol wrote:It's not going to destroy your life
I think this is sig worthy in fact.
Database was migrated from SQL Server 2003 to SQL Server 2012 R2 x64. I'm setting up their test server from a recent migration from their production server, and before I upgrade the database, I have to remove customer communications so customers aren't getting spammed by the companies testing... it should not take 3.5+ hours!Sol wrote:What SQL are you using? And no, simplex queries like that should take only a few secs for a mill or so rows.
CC Leader: n haz thsi time it wasnt ur fault
Bralor wrote:hey haz how long do you estimate until someone blames you and masses HVE again?
Field Marshall wrote:On a seperate issue - where is Haz? He's the glue we really need right now!
SuperSaiyan wrote:I'm a staff member so naturally I'm used to unjustified abusive commentary, so really I don't mind
Zeratul wrote:Ĕɱƿŷ wrote:So I heard that when becoming a moderator you are subjected to hours and hours of "The Forum is good, the Forum is great, we surrender our will as of this date".
that is incorrect... nothing resembling prostration...
Forced labor on the other hand........
SuperSaiyan says (2:04 PM):
*that was kernal potter
*colonel
*wow I just made that typo
SuperSaiyan says (2:05 PM):
*no one will speak of this
*or I take muff's veggies away
*and he starves
Hope says (2:59 AM):
*hypothetically, how bad would it be if i descended someone... but forgot to Godquest them first, and they're active, and in an active alliance...
Hope says (3:00 AM):
*hypothetically...
Murris says (3:00 AM):
*ah **Filtered** why am i descended....
Angnoch Freddie says:
i hate being a mod...
i just wanted the blue color XD
Code: Select all
for transact sql
USE AdventureWorks2012;
GO
UPDATE database.Customer
SET database.Customer.Email = NULL
WHERE database.Customer.Email IS NOT NULL;
GO
or...
UPDATE database.Customer
SET database.Customer.Email = NULL
WHERE database.Customer.Email IS NOT NULL;
Field Marshall wrote:Really?Sol wrote:It's not going to destroy your life
I think this is sig worthy in fact.
Database isn't being flooded, I'm the only one who can access it atm, and I've turned off all of our software which can communicate with it... I'm wondering whether it may be due to the relationships set by PKs and FKs, or the fact the database I'm upgrading from (in regards to our software) is quite old...Sol wrote:I want to say your query is wrong but... I'm not entirely sure regarding SQL 2012. If you know the server isn't flooded with capacity due to something, then it's probably the query, I would recommend trying something different like...(and I'm no pro in sql 2012)
Either way, that execution time is abnormal.Code: Select all
for transact sql USE AdventureWorks2012; GO UPDATE database.Customer SET database.Customer.Email = NULL WHERE database.Customer.Email IS NOT NULL; GO or... UPDATE database.Customer SET database.Customer.Email = NULL WHERE database.Customer.Email IS NOT NULL;
CC Leader: n haz thsi time it wasnt ur fault
Bralor wrote:hey haz how long do you estimate until someone blames you and masses HVE again?
Field Marshall wrote:On a seperate issue - where is Haz? He's the glue we really need right now!
SuperSaiyan wrote:I'm a staff member so naturally I'm used to unjustified abusive commentary, so really I don't mind
Zeratul wrote:Ĕɱƿŷ wrote:So I heard that when becoming a moderator you are subjected to hours and hours of "The Forum is good, the Forum is great, we surrender our will as of this date".
that is incorrect... nothing resembling prostration...
Forced labor on the other hand........
SuperSaiyan says (2:04 PM):
*that was kernal potter
*colonel
*wow I just made that typo
SuperSaiyan says (2:05 PM):
*no one will speak of this
*or I take muff's veggies away
*and he starves
Hope says (2:59 AM):
*hypothetically, how bad would it be if i descended someone... but forgot to Godquest them first, and they're active, and in an active alliance...
Hope says (3:00 AM):
*hypothetically...
Murris says (3:00 AM):
*ah **Filtered** why am i descended....
Angnoch Freddie says:
i hate being a mod...
i just wanted the blue color XD
Hmmm...it could be due to compatibility I guess, 2003-2012 is a fair jump, but to screw over a fairly basic query...Haz wrote:Database isn't being flooded, I'm the only one who can access it atm, and I've turned off all of our software which can communicate with it... I'm wondering whether it may be due to the relationships set by PKs and FKs, or the fact the database I'm upgrading from (in regards to our software) is quite old...Sol wrote:I want to say your query is wrong but... I'm not entirely sure regarding SQL 2012. If you know the server isn't flooded with capacity due to something, then it's probably the query, I would recommend trying something different like...(and I'm no pro in sql 2012)
Either way, that execution time is abnormal.Code: Select all
for transact sql USE AdventureWorks2012; GO UPDATE database.Customer SET database.Customer.Email = NULL WHERE database.Customer.Email IS NOT NULL; GO or... UPDATE database.Customer SET database.Customer.Email = NULL WHERE database.Customer.Email IS NOT NULL;
I won't be home for another two hours, so I'll check then, but if it still isn't done by then... I'm not sure what I can do, coz if I cancel the query, it will rollback the changes, which will take even longer >.<
Field Marshall wrote:Really?Sol wrote:It's not going to destroy your life
I think this is sig worthy in fact.
Sol wrote:my first sigging. I sigged you too. <3Field Marshall wrote:Really?Sol wrote:It's not going to destroy your life
I think this is sig worthy in fact.
High Empty wrote:however people shouldn't have lvl 33 and 200mil spies and try to be in the top 10, it's unhealthy.
It's going on 7 hours now!... and if I cancel it, it will rollback the changes, taking as much time, if not more than it has been currently using...Sol wrote:Hmmm...it could be due to compatibility I guess, 2003-2012 is a fair jump, but to screw over a fairly basic query...Haz wrote:Database isn't being flooded, I'm the only one who can access it atm, and I've turned off all of our software which can communicate with it... I'm wondering whether it may be due to the relationships set by PKs and FKs, or the fact the database I'm upgrading from (in regards to our software) is quite old...Sol wrote:I want to say your query is wrong but... I'm not entirely sure regarding SQL 2012. If you know the server isn't flooded with capacity due to something, then it's probably the query, I would recommend trying something different like...(and I'm no pro in sql 2012)
Either way, that execution time is abnormal.Code: Select all
for transact sql USE AdventureWorks2012; GO UPDATE database.Customer SET database.Customer.Email = NULL WHERE database.Customer.Email IS NOT NULL; GO or... UPDATE database.Customer SET database.Customer.Email = NULL WHERE database.Customer.Email IS NOT NULL;
I won't be home for another two hours, so I'll check then, but if it still isn't done by then... I'm not sure what I can do, coz if I cancel the query, it will rollback the changes, which will take even longer >.<
I feel like either way you look at it the query will have to be terminated
CC Leader: n haz thsi time it wasnt ur fault
Bralor wrote:hey haz how long do you estimate until someone blames you and masses HVE again?
Field Marshall wrote:On a seperate issue - where is Haz? He's the glue we really need right now!
SuperSaiyan wrote:I'm a staff member so naturally I'm used to unjustified abusive commentary, so really I don't mind
Zeratul wrote:Ĕɱƿŷ wrote:So I heard that when becoming a moderator you are subjected to hours and hours of "The Forum is good, the Forum is great, we surrender our will as of this date".
that is incorrect... nothing resembling prostration...
Forced labor on the other hand........
SuperSaiyan says (2:04 PM):
*that was kernal potter
*colonel
*wow I just made that typo
SuperSaiyan says (2:05 PM):
*no one will speak of this
*or I take muff's veggies away
*and he starves
Hope says (2:59 AM):
*hypothetically, how bad would it be if i descended someone... but forgot to Godquest them first, and they're active, and in an active alliance...
Hope says (3:00 AM):
*hypothetically...
Murris says (3:00 AM):
*ah **Filtered** why am i descended....
Angnoch Freddie says:
i hate being a mod...
i just wanted the blue color XD
CC Leader: n haz thsi time it wasnt ur fault
Bralor wrote:hey haz how long do you estimate until someone blames you and masses HVE again?
Field Marshall wrote:On a seperate issue - where is Haz? He's the glue we really need right now!
SuperSaiyan wrote:I'm a staff member so naturally I'm used to unjustified abusive commentary, so really I don't mind
Zeratul wrote:Ĕɱƿŷ wrote:So I heard that when becoming a moderator you are subjected to hours and hours of "The Forum is good, the Forum is great, we surrender our will as of this date".
that is incorrect... nothing resembling prostration...
Forced labor on the other hand........
SuperSaiyan says (2:04 PM):
*that was kernal potter
*colonel
*wow I just made that typo
SuperSaiyan says (2:05 PM):
*no one will speak of this
*or I take muff's veggies away
*and he starves
Hope says (2:59 AM):
*hypothetically, how bad would it be if i descended someone... but forgot to Godquest them first, and they're active, and in an active alliance...
Hope says (3:00 AM):
*hypothetically...
Murris says (3:00 AM):
*ah **Filtered** why am i descended....
Angnoch Freddie says:
i hate being a mod...
i just wanted the blue color XD
Pssh.Drought wrote:why not just set the entire column to null instead of checking each entry if it isnt already ?
update table.column set email = NULL
concerning the lengthy time, any chance your using locking methods on the column ?
Sol wrote:my first sigging. I sigged you too. <3Field Marshall wrote:Really?Sol wrote:It's not going to destroy your life
I think this is sig worthy in fact.
High Empty wrote:however people shouldn't have lvl 33 and 200mil spies and try to be in the top 10, it's unhealthy.
Field Marshall wrote: Pssh.
Script0rz
CC Leader: n haz thsi time it wasnt ur fault
Bralor wrote:hey haz how long do you estimate until someone blames you and masses HVE again?
Field Marshall wrote:On a seperate issue - where is Haz? He's the glue we really need right now!
SuperSaiyan wrote:I'm a staff member so naturally I'm used to unjustified abusive commentary, so really I don't mind
Zeratul wrote:Ĕɱƿŷ wrote:So I heard that when becoming a moderator you are subjected to hours and hours of "The Forum is good, the Forum is great, we surrender our will as of this date".
that is incorrect... nothing resembling prostration...
Forced labor on the other hand........
SuperSaiyan says (2:04 PM):
*that was kernal potter
*colonel
*wow I just made that typo
SuperSaiyan says (2:05 PM):
*no one will speak of this
*or I take muff's veggies away
*and he starves
Hope says (2:59 AM):
*hypothetically, how bad would it be if i descended someone... but forgot to Godquest them first, and they're active, and in an active alliance...
Hope says (3:00 AM):
*hypothetically...
Murris says (3:00 AM):
*ah **Filtered** why am i descended....
Angnoch Freddie says:
i hate being a mod...
i just wanted the blue color XD
eh bro? u mad?Drought wrote:Field Marshall wrote: Pssh.
Script0rz
Shouldnt you be pestering people who like gay folks ?
oh wait ...
I could sum you up with a few words
Traitor ...
Thief ...
Multi ...
Sol wrote:my first sigging. I sigged you too. <3Field Marshall wrote:Really?Sol wrote:It's not going to destroy your life
I think this is sig worthy in fact.
High Empty wrote:however people shouldn't have lvl 33 and 200mil spies and try to be in the top 10, it's unhealthy.
Can be technically excessive, if it's already NULL you're resetting it. But either way, the actual query time should be insignificant.Drought wrote:why not just set the entire column to null instead of checking each entry if it isnt already ?
update table.column set email = NULL
concerning the lengthy time, any chance your using locking methods on the column ?
Field Marshall wrote:Really?Sol wrote:It's not going to destroy your life
I think this is sig worthy in fact.