Hello and welcome to CertForums.co.uk, here we host free active certification forums with links to the best free resources for Microsoft's MCSA MCSE MCDBA Cisco's CCNA CCDA and CCNP, and CompTIA's A+ Network+ i-NET+ and Security+ certifications in the UK. If you wish to post or use other advanced features you will need to register first. Registration is absolutely free and takes only a few minutes to complete so sign up today!

If you have any problems with the registration process or your account login, please contact support

Go Back   CertForums > Certification Forums > Microsoft Certification Forums > SQL Exams
Home Forums Register Search Today's Posts Mark Forums Read

Any SQL Gurus?

Post New ThreadReply
 
Thread Tools Display Modes
  #1  
Old 05-Oct-2007, 03:11 PM
nXPLOSi nXPLOSi is offline
Lifetime Member
Posts: 1,897
Points: 469 nXPLOSi has over 250 pointsnXPLOSi has over 250 pointsnXPLOSi has over 250 pointsnXPLOSi has over 250 pointsnXPLOSi has over 250 points
Power: 26
None
Join Date: 25 Sep 2006
Location: London
Age: 22
Certifications: A+, Network+
WIP: 70-270
Any SQL Gurus?

Hi Guys,

Got a problem on our SQL Database, using SQL Query Analyser I've managed to update a date field with a number, not realising it was a date field at the time. Now the 90 odd records that have had this update, crash the database. I thought i'd be able to just clear the fields from these accounts, but it doesnt seem to be having any of it, just hanging and crashing.

Anyone got any ideas on how to get around this?

Thanks!

 
Reply With Quote
  #2  
Old 05-Oct-2007, 04:07 PM
hbroomhall hbroomhall is offline
Premium Member
Posts: 5,974
Points: 2032 hbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 points
Power: 85
None
Join Date: 08 Sep 2005
Location: Tunbridge Wells, Kent
Certifications: ECDL A+ Network+ i-Net+
WIP: Server+
Is this SQLserver?

Can you do a simple select on the database without it crashing? (So you can see what that field looks like).

And just *how* do you update a date field with a non-date? It shouldn't be possible.

What is the definition of that field?

Lots of questions.

Harry (who knows SQL but isn't so hot on SQLserver)

 
Reply With Quote
  #3  
Old 05-Oct-2007, 04:11 PM
nXPLOSi nXPLOSi is offline
Lifetime Member
Posts: 1,897
Points: 469 nXPLOSi has over 250 pointsnXPLOSi has over 250 pointsnXPLOSi has over 250 pointsnXPLOSi has over 250 pointsnXPLOSi has over 250 points
Power: 26
None
Join Date: 25 Sep 2006
Location: London
Age: 22
Certifications: A+, Network+
WIP: 70-270
Quote:
Originally Posted by hbroomhall View Post
Is this SQLserver?

Can you do a simple select on the database without it crashing? (So you can see what that field looks like).

And just *how* do you update a date field with a non-date? It shouldn't be possible.

What is the definition of that field?

Lots of questions.

Harry (who knows SQL but isn't so hot on SQLserver)
It shouldn't be possible your right, and it wasn't! It turnt out to be something else, but with the SQL Developer off sick, I paniced abit.

All sorted now, but thanks for the initial help, much apprecaited

 
Reply With Quote
  #4  
Old 05-Oct-2007, 04:13 PM
hbroomhall hbroomhall is offline
Premium Member
Posts: 5,974
Points: 2032 hbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 points
Power: 85
None
Join Date: 08 Sep 2005
Location: Tunbridge Wells, Kent
Certifications: ECDL A+ Network+ i-Net+
WIP: Server+


Harry.

 
Reply With Quote
Post New ThreadReply Spread this thread: Submit this thread to digg Submit this thread to del.icio.us


Go Back   CertForums > Certification Forums > Microsoft Certification Forums > SQL Exams


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL VS ORACLE the_beast SQL Exams 11 05-Feb-2008 03:41 PM
SQL Server 2005 Compact Edition tuvanit Software 0 15-Dec-2006 12:20 PM
SQL Server Certification sancheetah New Members Introduction 7 18-Oct-2006 10:56 AM
CertForums 70-228 & 70-229 Forum FAQ Page Phil SQL Exams 0 19-Nov-2003 06:24 AM


All times are GMT. The time now is 05:01 AM.

Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
CertForums.co.uk (C) copyright 2003-2007 All Rights Reserved. Content published on CertForums.co.uk requires permission for reprint.
Hosted by Lunarpages