stmeyer

Results comments of stmeyer

@markstory This is an confusing point. I have no problem to display DateTime-Columns with CakePHP 3. So, I don't think the German SQLServer returns datetimes in the localized format.

I have found a workaround: In the database configuration i set ``` 'init' => ['SET LANGUAGE us_english'] ``` With this, I am able to INSERT and UPDATE DateTime-Columns. But I...

I'm very new to CakePHP, so please give me a hint, how to see the output dateformat of SQLServer. Until today I have only worked with the normal sqlsrv-Driver (without...

@markstory I have made a little script: ``` php query($sql) as $row) { var_dump($row); } ?> ``` As a result i get a the datetime as a string `yyyy-mm-dd hh:mm:ss:000`...

Thanks, for the fast response. Maybe I can help to find a solution. I hope Cake is using the output to get the generated ID of a new row. Maybe...

I found the soulution at http://blogs.msdn.com/b/sqlprogrammability/archive/2008/07/11/update-with-output-clause-triggers-and-sqlmoreresults.aspx and at http://www.sql-server-helper.com/error-messages/msg-334.aspx. It works well, without the case, if the trigger is changing the inserted data. Example: A table with columns ID (auto...

If you need further informations or any help, feel free to ask. And thanks for your work!

Okay, I'm using Cake for some month and i never used Git(Hub), but I will try to help. I find out, that the statement is built in ``\Cake\Database\SqlserverCompiler::_buildInsertPart`. Additionally the...

I have a litte problem to map from the internal data type ``` `[ 'type' => 'string', 'length' => '100', 'null' => false, 'default' => null, 'precision' => null, 'comment'...

@markstory the `declare @tmptalbe table (id int, Username varchar(50), DateChange datetime)` is a TSQL variable. It is only declared for one query. I have seen, that in the `QueryCompiler` class...