All Questions

1
answer

What is the difference and advantages in using @@ IDENTITY and OUTPUT INSERTED.

I've always used @@IDENTITY to get the last identity value entered, as in the example below. create Proc [dbo].[Arquivos] @IdArquivo int, @IdArquivo_Out int output as begin Set Xact_Abort on Set Nocount on Begin Tran begin...
asked on 24.11.2015 / 16:52
2
answers

How to make a loop that compares string with a float in python?

I'm assigning the 1.5 value to the h variable, but it does not accept values of type float and does not end the code. h = (input("Informe sua altura: ")) # aqui ele recebe um elemento qualquer while h != float: # aqui fa...
asked on 13.07.2016 / 15:25
3
answers

How to store any string in C?

How do I store a string ) without first knowing the size of this string , for example: #include<stdio.h> int main (){ char nome[]; /* a array não tem tamanho determinado porque o input ainda não foi dado */ printf...
asked on 14.01.2017 / 14:30
1
answer

Call a method that calls another method of the same class?

Example I have the class Metodo : public class Metodo { private String string; public String mostrar(String nome, String sobrenome){ this.string = "Nome: " + nome + "Sobrenome: " + sobrenome; return string;...
asked on 13.11.2016 / 14:21
3
answers

"Translate" MySQL query for SQL Server 2012

What is the SQL Server 2012 query that corresponds to the next MySQL query? REPLACE INTO schedule SET jobname = "sqldump" , last_exec_date = NOW()     
asked on 29.12.2016 / 05:51
1
answer

Class Rectangle, is there a circular class?

I know that Class Rectangle is in rectangular form for object collision, is there a Circular class for that purpose?     
asked on 01.06.2016 / 17:32
1
answer

How to hide command output in CMD?

I have a file .bat and there is the command: chcp 65001 That results in CMD output: Página de código ativa: 65001 But I want this message, displayed after the command is executed, to be hidden to the user. What is the CMD comman...
asked on 24.08.2016 / 01:27
2
answers

How to read the command line?

Let's say I want to do a routine to automate the process of compiling a program. In general (regardless of language), you call the compiler from the command line. For example:    javac myProgram.class or    gcc myProgram.c -o myProgram...
asked on 20.07.2016 / 17:45
3
answers

How to customize password recovery email (Laravel 5.4)

How can I customize the password recovery email for Laravel 5.4, I need to change the language but can not find the place to edit.     
asked on 02.03.2017 / 12:10
3
answers

Should I use "or die"?

I saw this question Display mysqli error using die and I was wondering should I use always the or die or is it just for those who are starting to see that it gave problem? $sql = $mysqli->query( "SELECT * FROM tabela" ) or die (...
asked on 21.07.2016 / 10:30