Scott_Atkins
New member
- Joined
- Aug 10, 2010
- Messages
- 3
- Programming Experience
- Beginner
Good Evening Guys and Girls,
Hope all is well...
Just looking for a bit more of an understanding on how i could possibly achieve this!
I have 47 TXT.Files and they roughly have about 500+ words iv taken a snippet of a bit of a TXT file so you can see what information that store in them please see below..
24/06/2010 19:18:23 /IServerManager.GetPublicKey (timings: authenticate=0 authorise=0 execute=0 logError=0 teardown=0 total=0)
24/06/2010 19:18:23 /IServerManager.Login (timings: authenticate=0 authorise=0 execute=4524029 logError=0 teardown=468003 total=4992032)
24/06/2010 19:20:31 /IServerManager.GetPublicKey (timings: authenticate=0 authorise=0 execute=0 logError=0 teardown=0 total=0)
As you can see there is alot of information but what i want to be able to do is reference keys words out of them,
Iv just finished writing a application within VB.net that allows me to read txt.files and then im giving the user the option to upload them, which will be connected to a SQL database through a connection string.
Iv already created the database in SQL see below and you will notice that the column names reference bits within the txt.file above.
CREATE TABLE [dbo].[MedWayFiles](
[RowID] [int] IDENTITY(1,1) NOT NULL,
[Date and Time] [datetime] NULL,
[Commands] [nvarchar](50) NULL,
[Timings] [nvarchar](50) NULL,
[Authenticate] [nvarchar](50) NULL,
[Authorise] [nvarchar](50) NULL,
[Execute] [nvarchar](50) NULL,
[LogError] [nvarchar](50) NULL,
[TearDown] [nvarchar](50) NULL,
[Total] [nvarchar](50) NULL,
[SLA Breach] [nvarchar](50) NULL,
CONSTRAINT [PK_MedWayFiles] PRIMARY KEY CLUSTERED
what im trying to do is reference for example "authenticate=0" within the txt.file and then assign it across to the Authenticate column within SQL...
What and how would be the best solution to do this?
If you can help me it would be appreciated!
Thanks in Advance.
Hope all is well...
Just looking for a bit more of an understanding on how i could possibly achieve this!
I have 47 TXT.Files and they roughly have about 500+ words iv taken a snippet of a bit of a TXT file so you can see what information that store in them please see below..
24/06/2010 19:18:23 /IServerManager.GetPublicKey (timings: authenticate=0 authorise=0 execute=0 logError=0 teardown=0 total=0)
24/06/2010 19:18:23 /IServerManager.Login (timings: authenticate=0 authorise=0 execute=4524029 logError=0 teardown=468003 total=4992032)
24/06/2010 19:20:31 /IServerManager.GetPublicKey (timings: authenticate=0 authorise=0 execute=0 logError=0 teardown=0 total=0)
As you can see there is alot of information but what i want to be able to do is reference keys words out of them,
Iv just finished writing a application within VB.net that allows me to read txt.files and then im giving the user the option to upload them, which will be connected to a SQL database through a connection string.
Iv already created the database in SQL see below and you will notice that the column names reference bits within the txt.file above.
CREATE TABLE [dbo].[MedWayFiles](
[RowID] [int] IDENTITY(1,1) NOT NULL,
[Date and Time] [datetime] NULL,
[Commands] [nvarchar](50) NULL,
[Timings] [nvarchar](50) NULL,
[Authenticate] [nvarchar](50) NULL,
[Authorise] [nvarchar](50) NULL,
[Execute] [nvarchar](50) NULL,
[LogError] [nvarchar](50) NULL,
[TearDown] [nvarchar](50) NULL,
[Total] [nvarchar](50) NULL,
[SLA Breach] [nvarchar](50) NULL,
CONSTRAINT [PK_MedWayFiles] PRIMARY KEY CLUSTERED
what im trying to do is reference for example "authenticate=0" within the txt.file and then assign it across to the Authenticate column within SQL...
What and how would be the best solution to do this?
If you can help me it would be appreciated!
Thanks in Advance.