I am migrating data from one database to another. The process
requires that I significantly modify the table and data structure.
Therefore, I am exporting the data to a csv, making the adjustments
and then importing it to the new table.
One of the fields being migrated is a datetime field. When I export
the data to a csv the seconds portion of the datatime entries revert
to zero. For example, 1/18/2008 4:19:00 PM. What it needs to be is
1/18/2008 4:19:31 PM.
Please advise how I can extract the data and maintain the seconds. 3 5601
How do you export the data? I have used both BCP and the Import/Export
wizard and they both export DATETIME values with milliseconds.
Also, make sure to view the result CSV file in a text editor. If you open in
Excel the default date format trims to the minute and you need to create
custom formatting to see the seconds.
HTH,
Plamen Ratchev http://www.SQLStudio.com
On Jul 2, 10:27*am, "Plamen Ratchev" <Pla...@SQLStud io.comwrote:
How do you export the data? I have used both BCP and the Import/Export
wizard and they both export DATETIME values with milliseconds.
Also, make sure to view the result CSV file in a text editor. If you open in
Excel the default date format trims to the minute and you need to create
custom formatting to see the seconds.
HTH,
Plamen Ratchevhttp://www.SQLStudio.c om
I am using the express version and exporting with a third part package
(Teratrax). Suggestions for a better way with express? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dave Irick |
last post by:
We are looking for assistance in setting up export/import jobs that
will use DLT tapes managed by Netbackup. The issue seems to be how to
specify the "file" parameter of export/import so that it is written by
bpbackup or read by bprestore. We are transitioning to Veritas from an
older and very different tape management system. If anyone has
excerpts of export/import scripts that they may share that show how to
do this it would be greatly...
|
by: news |
last post by:
Our production database in an exported textfil runs about 60 MB.
Compressed that's about 9 MB.
I'm trying to import the export into another machine running FC3 and
mySQL 11.18, and it appears as though the file may be too big!
When I try to do it via command line:
mysql -u root --host=localhost printing < ./printing.txt
It eventually errors out with a "syntax error on line X" and only about
|
by: Alok |
last post by:
Hi,
I recently upsized my access database to an ADP project with SQL
backend. However when I did it the import/export specs were not ported
to the new database. Also in the ADP files I am unable to create new
import/export specs. The option is greyed out. I need to use the specs
with the TransferText function.
How can I get around this issue?
Alok
|
by: Steve Jorgensen |
last post by:
I'm restarting this thread with a different focus.
The project I'm working on now id coming along and will be made to work, and
it's too late to start over with a new strategy. Still, I'm not coming to a
firm conclusion over whether it was the better approach, and wonder if I
should do it differently the next time I'm faced with a similar issue.
I needed an app to automatically import from spreadsheets with a semi-dynamic
structure,...
|
by: N. Graves |
last post by:
Thanks for taking the time to read this note.
I have a Access inventory collection tool that I have automated to
build and Export to a CSV file. In the database I have several fields
that are large text fields for comments. When I'm collecting data I
have set the <Enter> button to move to next line instead of the
default.
We are trying to import this CSV data file in to a Remedy SQL server
using the Remedy Import tool. This import...
| |
by: shaboo |
last post by:
Hi Guys,
I have just installed Python2.4.2 on our HP-UX system. But when I try
to import datetime modlue I get the following error
~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>> from datetime import datetime
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: No module named datetime
|
by: Robert Bogue [MVP] |
last post by:
I've got a test harness I've been building and playing with to manage
ASP.NET web parts. One thing I've noticed is that I do not seem to be able
to reimport the webparts I've exported back on to the same page.
I added a web part from the declarative catalog. I exported the web part.
I tried to import the web part and when I tried to actually add the control
to the page, I got a generic error that it couldn't be added.
Has anyone seen...
|
by: Wandering |
last post by:
I know you guys are heavy duty coders, while I do ad-hoc analysis, and
rarely write code. And, I may be in the wrong groups because this is
about an install issue, and I don't think it's a code issue. But ...
Office 2000 was on this machine when it was given to me. I don't own
it. After installing Office 97, mine, in a different directory, and
checking most of it out, I uninstalled Office 2000.
Well, it's a lot easier to upgrade than...
|
by: Piero 'Giops' Giorgi |
last post by:
Hi, all!
The Criminal DB is going strong (as of today: 50 Tables, on 3077
Filegroups)
Right now I stuffed in it about 2 million records (About 7% of total),
but I'm constantly having an issue with dates.
What is the CORRECT format to use when importing a DateTime Field???
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |