vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Sql (https://vborg.vbsupport.ru/showthread.php?t=50209)

Dean C 03-15-2003 05:06 PM

Sql
 
Can anyone see anything wrong with this:

[sql]
CREATE TABLE events (
event_id int(11) NOT NULL auto_increment,
event_title varchar(255) NOT NULL default '',
event_start date bigint(20) unsigned NOT NULL default '0',
event_end date bigint(20) unsigned NOT NULL default '0',
event_parent int(11) unsigned NOT NULL default '0',
event_description text,
event_times_recuring int(11) unsigned NOT NULL default '0',
event_recurs int(11) unsigned NOT NULL default '0',
event_remind int(10) unsigned NOT NULL default '0',
event_icon varchar(20) default 'obj/event',
event_owner int(11) default '0',
event_project int(11) default '0',
event_private tinyint(3) default '0',
PRIMARY KEY (event_id),
KEY id_esd (event_start_date),
KEY id_eed (event_end_date),
KEY id_evp (event_parent)
) TYPE=MyISAM;
[/sql]

???

Regards :)

- miSt

filburt1 03-15-2003 05:21 PM

Code:

event_start date bigint( 20 ) unsigned NOT NULL default '0',
event_end date bigint( 20 ) unsigned NOT NULL default '0',

Something's wrong there.

Dean C 03-15-2003 06:38 PM

Nope nothing is wrong. My conclusion was that it was the name of the table is not allowed. For some reason you can't call the table events... i managed to run the same query with the name eventsx as the tablename..

Something is majorly funny because no-one could possibly release software for beta testing with table names that don't work... any ideas?

- miSt

filburt1 03-15-2003 06:45 PM

I doubt that the table name was an issue because it didn't fail immediately there. I think the DATE and BIGINT (why the hell would you need BIGINT for a date!?) was the problem.

Dean C 03-15-2003 07:44 PM

Don't ask me hehe - its a software in its alpha stage and that query wouldn't run. Unfortunately the development of the software is at sourgeforce.net so getting support is a hassle. So im trying to get in contact with the owner and resolve some issues. I managed to change the table name by running a query :)

Tis very odd... But an excellent client management system. If only the development would go faster :p

- miSt


All times are GMT. The time now is 07:33 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01096 seconds
  • Memory Usage 1,715KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete