rony_78 Posted September 27, 2013 Share Posted September 27, 2013 I have the following sql query in vb.net and ms access , how do I create a table from the query result ? SELECT 'Table1' AS [Table], SUM(a) - SUM( AS Result FROM table1 I have tried but it does not work create table tble10 as SELECT 'Table1' AS [Table], SUM(a) - SUM( AS Result FROM table1 any help would be appreciated Link to comment Share on other sites More sharing options...
justsomeguy Posted September 27, 2013 Share Posted September 27, 2013 Use SELECT..INTO: http://technet.microsoft.com/en-us/library/ms188029.aspx Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now