abc = 'abcdef';conn = database('databasename','user id','password',... 'Vendor','Microsoft SQLServer', 'Server', '(local)', 'AuthType', 'Server', 'portnumber', 1433);query = 'INSERT INTO table_Name (column_Name) VALUES (abc)';curs = exec(conn,query );close(curs);close(conn);
MATLAB: MATLAB is not passing string type variable into SQL SERVER 2014
sql serversql server 2014
Related Question
- How to select from a table within a specific schema
- How to use integrated security with an ODBC SQL Server database in Database Toolbox 3.10 (R2011b)
- Getting Error using database/insert (line 177) Unable to write column to database. while exporting data from matlab to SQL Server Management Studio
- Can I query a PostgreSQL/PostGIS database from MATLAB
- Do I receive a Java out of memory error when trying to query a large table held in a PostgreSQL database with the EXEC function in the Database Toolbox 4.0 (R2012b)
Best Answer