Pergunta

Does the syntax of an SQL software change from program to program? - (Like, in HeidiSQL you define a primary key in one way, in SQL server in other)

Or is it always the same? Because I'm getting syntax errors where my friend says I shouldn't because it worked for him when he was on this stuff, he didn't use heidi though.

Foi útil?

Solução

Yes, SQL syntax changes between different database providers. See this SO question for more detail: Difference between different types of SQL?

Outras dicas

Each database contains differences for each provider you use. I search this site for specifics. Pick one and learn about it and there are really only small differences for each. Good luck finding what you need.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top