Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

EQUIVALENT OF ANSI_NULLS ON on mysql

Posted on 2008-10-01
3
3,014 Views
Last Modified: 2012-06-27
Hi all, we are migrating our database from mssql to mysql.
while migrating a triigger i have a code in mssql trigger as below
SET ANSI_NULLS ON
SET ANSI_NULL_DFLT_ON ON
SET ANSI_PADDING ON
SET ANSI_WARNINGS ON
SET QUOTED_IDENTIFIER ON

if i do the same in mysql trigger it is giving error as Unknown system variable 'ANSI_NULLS'.
please let me know the equivalent of the above syatem varibles in mysql.
Regards,
vijaya
0
Comment
Question by:vijji_lakshmi
3 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
ID: 22612286
MySQL does not have any of those.
>SET ANSI_NULLS ON
in MySQL, that is the behaviour anyhow.
SET ANSI_NULLS OFF -> would mean that NULL + something = something, with SET ANSI_NULLS ON   -> NULL + something = NULL

etc...
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
MySql hide the stored procedures 2 54
MySQL - Restore Database SQL File 5 61
Import MySQL data into MS Access using VB.Net interface 5 29
check mysql insert 12 26
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question