sql sorgu farklılıkları |
When I examine the logs on mssql, some queries
Some queries come in dynamic variable structure while some queries are forwarded in plain tsql. Plain structure: SELECT * FROM test_table where id='1' and status='OPEN' Variable structure : (@1 tinyint,@2 varchar(8000))SELECT * FROM [test_table] WHERE [id]=@1 AND [status]=@2 How do I ensure that queries are always sent in a variable structure when using activated record? How does codeigniter manage this variable? If I send where to the id column, which is the primary and identy column in the table, it produces a parameterized result. But if I send where to the service column logging a straight sql query.; PHP Code: $this->db->select('*'); |
Welcome Guest, Not a member yet? Register Sign In |