I need to get a record of a table, where this record is what the date was entered last.
Of the genre:
SELECT Ped.Quantidade
FROM ped
WHERE data <= @data
But as I have several records it returns me all, when I just want the last one in...
I need to modify a part in the text of a table. The records for an email are [email protected] and need to change all to jf.jus.br . Only the first part of the email does not change (the xxx).
I can do one
update
TABELA
set
email = RE...
public string site = "http://www.tibia.com/community/?subtopic=worlds&world=Aurera";
private Regex nomedochar = new Regex("subtopic=characters&name=(?<player>.*?)\" >");
public string nomedochar2 = "";
public Thre...
Good morning,
I have the following classes:
CONSUL_CA_Aluno:
public class CONSUL_CA_Aluno
{
public int Id { get; set; }
public string Nome { get; set; }
public int Cpf { get; set; }
public string Email { get; set; }
pu...
Well, the question is this. I have a database that has the purpose of making the cash book of a company, basically this bank has a CaixaCorrido table with columns Id , PessoaNome , DataHora , Descricao , Valor...
I have 2 objects with different values, but when I save it it saves as a single object.
Example of how I'm using:
class Objeto {
private $Nome;
public function setNome($Nome){
$this->Nome = $Nome;
}
public funct...
It is very easy to get the entire code from a C # program using .NET Reflector.
Would it be possible for me to put the same security in a C # program as a program made in C ++? I found this answer in Stack Overflow in English but even in...
In PHP 5 we know that type hinting has been added. and now we can declare and force the type of parameter that a function will receive. I believe that it will help in the treatment of the data of more precise form, however what is the gain o...
How can I measure the runtime of a function in Python?
In C #, I use the class Stopwatch() in this way
var sw = new Stopwatch();
sw.Start();
AlgumaFuncao();
sw.Stop();
WriteLine(sw.ElapsedTicks);