Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New to SQL need some basic info

Status
Not open for further replies.

atray04

Programmer
Dec 29, 2003
112
US
I am writing a VBA macro in Excel and I might eventually need to get the data from a SQL server. I have never used SQl so I was needing to know what to do once I have access to the server. Is there a place for me to go to get more information on this or are there some basic things you could tell me that would help get me started. I can give some details on exactly of what I want if that will help.
 
To get data from sql server from vb script see

This is more complicated than you may need - just pick out the bits you need and put it in in-line code.
You should always access the data via stored procedures as this is more flexible, maintainable and secure.

======================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
 
That is great and will probably help me out, but I need a little background info on using sql in vba.

Now I have never seen a sql server before or worked with them. So I am confused on what to do.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top