SQL Statements...where?

OfficeUser

Well-known Member
Joined
Feb 4, 2010
Messages
544
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Are SQL statements typically contained in the same area in an database? If so, where might be a good place to look? Thanks.
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
I am not really sure what in what context you are referring to, but each Query in Access is stored as SQL statements. To see this, highlight any Query and change to SQL View and it will show you the SQL code for that Query.

Is that what you are looking for?
If not, please provide more detail on exactly what you are after.
 
Upvote 0
I am dumping data into excel and need to use a statement to do so. I think I will leave it alone. Thanks for your insight.
 
Last edited:
Upvote 0
I think that would require a Macro or VBA, not necessarily SQL.
You can use the TransferSpreadsheet Macro Action to send an Access Table or Query to an Excel file.
 
Upvote 0
I talked to the individual who maintains our db here and the write statement in something I do not have access to then they implement it into the database and pass me the statement i need to dump all required data in an excel sheet at which I use vba to get it into the form I would like. I really don't know Access, I have made databases, but nothing like this.
 
Upvote 0
I am sorry, but I am not understanding what you are saying.

Just what exactly are you looking for/asking?
 
Upvote 0
I open Excel, Import External Data, New Database Query. I then close until I get to the Edit In Microsoft Query, click on the SQL box, input my statement (which I don't have the correct one) and then I return data to excel...

I am reading up on the TransferSpreadSheet Macro.
 
Upvote 0
Ah, you are involing Microsoft Query. I am afraid I cannot be much help with that. I know Excel and Access, but not MS Query.
 
Upvote 0
Joe4<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
I was reading through the forum and stumbled across this entry. Would you care to expound on this? I wasn't aware such a thing was possible...how exactly would you perform this action?<o:p></o:p>
<o:p></o:p>
I think that would require a Macro or VBA, not necessarily SQL.
You can use the TransferSpreadsheet
Macro Action to send an Access Table or Query to an Excel file.
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,285
Members
452,902
Latest member
Knuddeluff

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top