NukeXchange Network

          

Nuke Sites Link Directory
Nuke Fixes · NukeForums · NukeZone Hosting · NukeUnited · Nuke Sites · Nuke Skins · NukeLance
Nuke Resources
 :: Home  :: Downloads  :: Your Account  :: Forums  :: Advertise :: 
Login or Register
Main Menu
General
 Main
 AvantGo
 Banner_Clients
 cfaq
 Donations
 Downloads
 Forums
 Members_List
 Private_Messages
 Search
 Stories_Archive
 Submit_News
 Surveys
 Topics
 Web_Links
 Your_Account

Your Account
 Login
 Register
 Lost Pass

Modules
Quick Links
· CMS Focus
· Domain Names
. Game Quest
· Learning Linux
. MateMaker
· NukeFixes
· NukeForums
· NukeLance
· Nuke Sites
· Nuke Skins
· NukeZone Hosting
. SearchDevil
Other Options

Download Resources
· Nuke Downloads
· Add a Link
· New Files
· Top Rated
· Most Popular

Web Site Resources
· Nuke Sites
· Add A Site
· New Sites
· Top Rated
· Most Popular

Support
· NukeZone Hosting
· NukeSkins.com
· NukeForums.com
· phpnuke.org
· NukeFixes.com
Information
NukeForums
·Dynamic block height
·Full Path Changes Required in Several Directories
·Members Cant Logon My Site or View Forums & Member Profi
·versign and authorize.net phpauction integration...
·Approved Membership for 8.0
·I want to use full HTML content in the welcome page...
·Changed style from subsilver, folder images now dont display
·Installing the forum upadates
·PHP-Nuke SQL Injection Vulnerability Fix
·Warning: main(db/mysql.php): failed to open stream: No such

read more...
Top10 Links
· 1: Nuke Forums
· 2: PHPNukeFiles
· 3: NukeSkins
· 4: Nuke Templates
· 5: EcomJunk
· 6: MDesign
· 7: Windows Installation: PHP
· 8: FLASH-FOR-NUKE
· 9: Dezina
· 10: Global Dream News Sharing Portal!
Site Visitors
User Login:

Nickname:
Password:
Security Code: Security Code
Type Security Code Here:

Members List Membership:
Latest: companynewbie
Today: 0
Yesterday: 2
Overall: 14890

Visitation:
Guests: 614
Members: 0
Total: 614


You are Anonymous user. You can register for free by clicking here
Sponsor Links
Game Quest Online - Games and more!
Game Quest Online - Games and more!

NukeResources :: View topic - ALTER table in PHPmyAdmin
NukeResources Forum Index

NukeResources Forum Index -> phpMyAdmin -> ALTER table in PHPmyAdmin
Post new topic  Reply to topic    View previous topic :: View next topic 
ALTER table in PHPmyAdmin
PostPosted: Wed Aug 22, 2007 5:57 pm Reply with quote
tonynoriega
Resource Seeker
Resource Seeker
 
Joined: Aug 22, 2007
Posts: 2




i have a field of "entry_time" set to "DATETIME", and i want to change it to "DATE"...

can i do this without losing the data?
View user's profile Send private message
PostPosted: Wed Aug 22, 2007 6:50 pm Reply with quote
Evaders99
Resource Master
Resource Master
 
Joined: May 25, 2004
Posts: 1784




Yes, it will just keep the data information. (Although why you particularly need to do this, beats me)

_________________
- Star Wars Rebellion Network - Evaders Squadron Coding -

Need help? Nuke Patched Core, Coding Services, Webmaster Services
View user's profile Send private message Visit poster's website AIM Address
PostPosted: Wed Aug 22, 2007 7:17 pm Reply with quote
tonynoriega
Resource Seeker
Resource Seeker
 
Joined: Aug 22, 2007
Posts: 2




i am calculating dates and CURDATE is not calculating with a DATETIME data format...

because of the hh:mm:ss

so i need date...

but i found a work around i did not know, which was

CAST(entry_time AS DATE)

and it works fine.

thanks
View user's profile Send private message
ALTER table in PHPmyAdmin
 NukeResources Forum Index -> phpMyAdmin
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 4 Hours  
Page 1 of 1  

  
  
 Post new topic  Reply to topic     



Powered by phpBB © 2001-2005 phpBB Group.     Theme created by Vjacheslav Trushkin.
There have been 149 unique hit(s) in the past 24 hours.
Forums ©
Game Quest Online - Games and more!


Best viewed with a Browser
All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2001 - 2007 by NukeResources.com
You can syndicate our news using the file .backend.php or ultramode.txt
PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.25 Seconds

:: Eos phpbb2 style by Cyberalien :: PHP-Nuke theme by www.nukemods.com ::