diogom Posted April 13, 2012 at 09:25 AM Report #448910 Posted April 13, 2012 at 09:25 AM olá, Gostava de saber se é possível colocar o campo year a preencher automaticamente. cmp
HappyHippyHippo Posted April 13, 2012 at 10:37 AM Report #448919 Posted April 13, 2012 at 10:37 AM nao testei mas deverá ser algo do genero create table .... year INT DEFAULT YEAR(CURDATE()) IRC : sim, é algo que ainda existe >> #p@p Portugol Plus
diogom Posted April 13, 2012 at 10:52 AM Author Report #448923 Posted April 13, 2012 at 10:52 AM E através do painel administrativo.
M6 Posted April 13, 2012 at 02:10 PM Report #448954 Posted April 13, 2012 at 02:10 PM diogom, o "painel administrativo" é apenas uma interface gráfica para o comando mostrado. Há vários "paineis administrativos", pelo que terias de referir qual é, mas parece-me lógico que seja sempre no valor "default" da coluna em causa... 10 REM Generation 48K! 20 INPUT "URL:", A$ 30 IF A$(1 TO 4) = "HTTP" THEN PRINT "400 Bad Request": GOTO 50 40 PRINT "404 Not Found" 50 PRINT "./M6 @ Portugal a Programar."
diogom Posted April 13, 2012 at 02:15 PM Author Report #448956 Posted April 13, 2012 at 02:15 PM phpmyadmin
M6 Posted April 13, 2012 at 02:16 PM Report #448959 Posted April 13, 2012 at 02:16 PM Tal como referi acima, só tens de meter a função nocampo valor default do campo em causa. 10 REM Generation 48K! 20 INPUT "URL:", A$ 30 IF A$(1 TO 4) = "HTTP" THEN PRINT "400 Bad Request": GOTO 50 40 PRINT "404 Not Found" 50 PRINT "./M6 @ Portugal a Programar."
diogom Posted April 15, 2012 at 12:41 PM Author Report #449275 Posted April 15, 2012 at 12:41 PM obrg. 😕
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now