I
I
Igor Braduloff2018-09-03 16:56:05
Yii
Igor Braduloff, 2018-09-03 16:56:05

Why are bugs displayed in YII2?

Good afternoon! Called MSSQL procedure

$command = Yii::$app->db->createCommand("EXEC sp_GetRecipientPayments @user = :p_user, @sd= :p_start, @ed= :p_end");
 $command->bindParam(":p_user", $user, PDO::PARAM_INT);
$command->bindParam(":p_start", $sd, PDO::PARAM_STR);
 $command->bindParam(":p_end", $ed, PDO::PARAM_STR);
$records = $command->queryAll();

the field in the database is displayed DA0FB9A6-9505-11E8-A016, and in the $records array it is displayed as a shorthand
, the database field itself is of the unique identifier type

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2018-09-03
@webinar

- Tell me, Berimor, what is this Mui Ne in the database?
- Coding, sir.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question