Click here to Skip to main content
12,397,027 members (68,843 online)
   

Database

 
AnswerTHX: Global Database Design for example to store Addresses Pin
LiQuick12-Oct-12 4:21
memberLiQuick12-Oct-12 4:21 
GeneralRe: THX: Global Database Design for example to store Addresses Pin
Eddy Vluggen12-Oct-12 5:37
memberEddy Vluggen12-Oct-12 5:37 
GeneralRe: THX: Global Database Design for example to store Addresses Pin
Jörgen Andersson12-Oct-12 8:15
memberJörgen Andersson12-Oct-12 8:15 
GeneralRe: THX: Global Database Design for example to store Addresses Pin
Eddy Vluggen12-Oct-12 10:54
memberEddy Vluggen12-Oct-12 10:54 
GeneralRe: THX: Global Database Design for example to store Addresses Pin
Jörgen Andersson12-Oct-12 11:34
memberJörgen Andersson12-Oct-12 11:34 
GeneralRe: THX: Global Database Design for example to store Addresses Pin
Eddy Vluggen12-Oct-12 13:38
memberEddy Vluggen12-Oct-12 13:38 
QuestionGet Filename and import fixed width file Pin
ReallyDumbDudee10-Oct-12 10:15
memberReallyDumbDudee10-Oct-12 10:15 
AnswerRe: Get Filename and import fixed width file Pin
Eddy Vluggen11-Oct-12 12:51
memberEddy Vluggen11-Oct-12 12:51 
Open up a console-window ([Windows Key]-[R], type cmd, press enter) and execute below command;
dir "C:\Windows\m*.log" /b >files.txt
Replace my Windows location (and the wildcard) with one that's more appropriate for you. Next step is easy, you copy and paste it into MS Access. You now have a table with filenames. You could loop those in Access, and fetch the correct file and save it with some VBA-code.

Then make a linked server (in Sql Server) to the Access database (one for generic imports like these) and simply copy the (appropriate) records over.
Bastard Programmer from Hell Suspicious | :suss:
if you can't read my code, try converting it here[^]

QuestionRe: Get Filename and import fixed width file Pin
ReallyDumbDudee11-Oct-12 13:56
memberReallyDumbDudee11-Oct-12 13:56 
AnswerRe: Get Filename and import fixed width file Pin
Eddy Vluggen12-Oct-12 1:04
memberEddy Vluggen12-Oct-12 1:04 
Answer. Pin
SQL Ed10-Oct-12 8:21
memberSQL Ed10-Oct-12 8:21 
AnswerRe: tried to use a case when inside a WHERE clause but did not work. Need more efficient way to cover all IF ELSE scenarios. Pin
Eddy Vluggen10-Oct-12 9:26
memberEddy Vluggen10-Oct-12 9:26 
GeneralRe: tried to use a case when inside a WHERE clause but did not work. Need more efficient way to cover all IF ELSE scenarios. Pin
SQL Ed10-Oct-12 13:15
memberSQL Ed10-Oct-12 13:15 
GeneralRe: tried to use a case when inside a WHERE clause but did not work. Need more efficient way to cover all IF ELSE scenarios. Pin
mark merrens10-Oct-12 13:28
membermark merrens10-Oct-12 13:28 
GeneralRe: tried to use a case when inside a WHERE clause but did not work. Need more efficient way to cover all IF ELSE scenarios. Pin
Jörgen Andersson10-Oct-12 22:26
memberJörgen Andersson10-Oct-12 22:26 
GeneralRe: tried to use a case when inside a WHERE clause but did not work. Need more efficient way to cover all IF ELSE scenarios. Pin
Shameel11-Oct-12 0:27
memberShameel11-Oct-12 0:27 
GeneralRe: tried to use a case when inside a WHERE clause but did not work. Need more efficient way to cover all IF ELSE scenarios. Pin
Eddy Vluggen11-Oct-12 0:35
memberEddy Vluggen11-Oct-12 0:35 
QuestionHow to retrieve client IP address from sql server database Pin
Tridip Bhattacharjee9-Oct-12 20:53
memberTridip Bhattacharjee9-Oct-12 20:53 
AnswerRe: How to retrieve client IP address from sql server database Pin
digimanus10-Oct-12 1:20
memberdigimanus10-Oct-12 1:20 
QuestionMySQL code- Problems with cade when inside a WHERE clause Pin
SQL Ed9-Oct-12 11:31
memberSQL Ed9-Oct-12 11:31 
AnswerRe: MySQL code- Problems with cade when inside a WHERE clause Pin
Jörgen Andersson9-Oct-12 11:47
memberJörgen Andersson9-Oct-12 11:47 
QuestionDatabase connectivity failure when using ODBC Pin
bharath_ben9-Oct-12 3:16
memberbharath_ben9-Oct-12 3:16 
AnswerRe: Database connectivity failure when using ODBC Pin
Jochen Arndt9-Oct-12 3:43
memberJochen Arndt9-Oct-12 3:43 
GeneralRe: Database connectivity failure when using ODBC Pin
bharath_ben28-Nov-12 3:46
memberbharath_ben28-Nov-12 3:46 
QuestionSQL counting Pin
Qazzy648-Oct-12 8:27
memberQazzy648-Oct-12 8:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 25 Jul 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid