Ir para conteúdo
  • Cadastre-se

(Resolvido)alguém.. ajuda com essa query?


Ir para solução Resolvido por Aksz,

Posts Recomendados

11 horas atrás, ArielZeRah disse:

image.thumb.png.11b9b98933d4d0912085cf388c35672c.png

CREATE TABLE `z_news_tickers` (
  `id` int(11) NOT NULL,
  `date` int(11) NOT NULL DEFAULT '1',
  `author` int(11) NOT NULL DEFAULT '29',
  `image_id` int(3) NOT NULL DEFAULT '0',
  `text` text NOT NULL,
  `hide_ticker` tinyint(1) NOT NULL DEFAULT '1'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

ALTER TABLE `z_news_tickers`
  ADD PRIMARY KEY (`id`);

ALTER TABLE `z_news_tickers`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25;

 

Link para o post
Compartilhar em outros sites
5 horas atrás, Diiego Liima disse:

CREATE TABLE `z_news_tickers` (
  `id` int(11) NOT NULL,
  `date` int(11) NOT NULL DEFAULT '1',
  `author` int(11) NOT NULL DEFAULT '29',
  `image_id` int(3) NOT NULL DEFAULT '0',
  `text` text NOT NULL,
  `hide_ticker` tinyint(1) NOT NULL DEFAULT '1'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

ALTER TABLE `z_news_tickers`
  ADD PRIMARY KEY (`id`);

ALTER TABLE `z_news_tickers`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25;

 

image.thumb.png.0a1cdb8a89dc3a969099c5eb39b1f914.png
Opa, amigo tudo joia? vlw por ajudar, mas eu já tenho essa TABLE erro persiste ainda UP!
 Bored Cabin Fever GIF

Link para o post
Compartilhar em outros sites
Em 15/11/2022 em 08:24, Diiego Liima disse:

CREATE TABLE `z_news_tickers` (
  `id` int(11) NOT NULL,
  `date` int(11) NOT NULL DEFAULT '1',
  `author` int(11) NOT NULL DEFAULT '29',
  `image_id` int(3) NOT NULL DEFAULT '0',
  `text` text NOT NULL,
  `hide_ticker` tinyint(1) NOT NULL DEFAULT '1'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

ALTER TABLE `z_news_tickers`
  ADD PRIMARY KEY (`id`);

ALTER TABLE `z_news_tickers`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25;

 

image.thumb.png.44f46c6d4d4a7f0dc181cf49fb587ec1.pngimage.thumb.png.4b70d796cc1d60000c8a20ee7df09649.png

Link para o post
Compartilhar em outros sites
7 horas atrás, Aksz disse:

Olá, bom dia tudo bem?

 


ALTER TABLE newsticker ADD COLUMN text text NOT NULL;

 

image.thumb.png.751e99075a3c99591f803689924292b7.png


boa tarde, tudo joia men.
testei aki erro ainda existe. :(

Link para o post
Compartilhar em outros sites
  • Moderador
  • Solução
2 horas atrás, ArielZeRah disse:

image.thumb.png.751e99075a3c99591f803689924292b7.png


boa tarde, tudo joia men.
testei aki erro ainda existe. :(

O erro continua, porém é outra coluna

 

ALTER TABLE newsticker ADD COLUMN date int(11) NOT NULL;

 

Link para o post
Compartilhar em outros sites
2 horas atrás, Aksz disse:

O erro continua, porém é outra coluna

 



ALTER TABLE newsticker ADD COLUMN date int(11) NOT NULL;

 

Obg, to testando aki até momento não ocorreu, mas o erro em questão!!
já marco a SOLUÇÃO, se funfar!

Editado por ArielZeRah
erro de digitação! (veja o histórico de edições)
Link para o post
Compartilhar em outros sites

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo