Q: Is there a way to redirect MYSQLDUMP to export VIEW with data (and not just CREATE SQL)? I want to use the resulting SQL to create a new table.
Thanks! John
I do not know how to dump only a view without a table. But you can try the following method:
Run the following command from the shell:
mysql -u [username] -p [password] -e "SHOW CREATE VIEW [logout]"> [advertising_name] _dump.sql
Source: https://habr.com/ru/post/1310924/More articles:Has anyone ever created a website with moving video as a background? - flashMultiple default routes in ASP.NET MVC for different default actions - c #SQLMetal DataContext connections not generated - linq-to-sqlPassing an object as an interface - interfaceForum module for Zend Framework? - phpError executing request - djangoPHP Oriented Web Application - oopIs there a way to use VC ++ 2010 without including stdafx.h? - c ++Do I need to download binary files to test in-app purchases? - iphonein HTML loaded by Webview Broken in Sense - androidAll Articles