B bgurukishore New Member Mar 2, 2013 #1 Am looking the formula to generate SQL commands from excel data where the commands are ready to execute in SQL/DB server.
Am looking the formula to generate SQL commands from excel data where the commands are ready to execute in SQL/DB server.
E Excel_Kid_663 New Member Mar 2, 2013 #2 As far as I know you cannot use SQL language in excel, maybe you could use a text string though to write SQL syntax? For Example: =IF(A1 = "Yes", "SELECT * FROM Table_Name WHERE Criteria >= 100", "") Then the Cell will only display /SELECT * FROM Table_Name WHERE Criteria >= 100/ Not sure if that's any help
As far as I know you cannot use SQL language in excel, maybe you could use a text string though to write SQL syntax? For Example: =IF(A1 = "Yes", "SELECT * FROM Table_Name WHERE Criteria >= 100", "") Then the Cell will only display /SELECT * FROM Table_Name WHERE Criteria >= 100/ Not sure if that's any help