Sunday, March 25, 2012
Converting Access 2000 to SQL
Thanks a lot,
Aaron Shoverwith SQL Server a very handy tool is delivered: Data Transformation Services (DTS). You can use DTS to transform data from one source to another for all major databases, office applications, text files and more. If you are willing to convert to SQL Server this is probably the way to go. You can search in the Books Online for more info.
You can also set up your Access databases as linked servers to access them from SQL server, but conversion is probably better.|||I found the DTS and I used it. Now, this database has a front end and a backend. When I transferred the front end all it allowed me to transfer were the queries. So then I had to go to the back end and transfer the backend in order to transfer the tables. I assume this is because of the database being split, and if it wasn't it would allow me to do both at the same time?|||well the tables aren't located in the front end - how can they be transferred??
They are only *linked* to the tables in the back end.|||That's what I thought; I just wanted conformation so I understand everything that is going on.
Thursday, March 8, 2012
Convert SqlExpress to Sql 2000
TIA,
Rick
Nevermind. Was able to use 2000's DTS in conjunction with Database Publishing wizard. Much faster and easier on the server than INSERT scripts.
Convert SqlExpress to Sql 2000
TIA,
Rick
Nevermind. Was able to use 2000's DTS in conjunction with Database Publishing wizard. Much faster and easier on the server than INSERT scripts.
Friday, February 10, 2012
Convert Date Format from 23 Aug 07 to mm-dd-yy
Give a look to the CONVERT-->CAST AND CONVERT article in books online; there is a section that deals with particular format flavors for DATE/TIME datatypes. The mm/dd/yyyy format is the "101" flavor. That function reference will look something like:
CONVERT(VARCHAR(10), yourDateVar, 101)
|||I just realized this month comes from a view that has month put together by two fields. It looks like this
CONVERT(char(12), DATEADD(day, dbo.question_history.cycle_day - 1, dbo.period.start_date)
The period starte date looks like this 2007-07-16 00:00:00.000
The date is actually the period start date plus + the cycle day - 1. ITs confusing i know. So how come when i try to edit the date it wont let me, i get this 39280 for some weird reason.