Posts filed under ‘IT/Soft’

[vb] Merge several excel files into 1 separate worksheet

VB code from here

Googledoc backup just in case

Thank you experts ~.~

6 May, 2011 at 11:13 am Leave a comment

[vbs] Get folder names / file names in a directory

‘Option explicit

Set fs = CreateObject(“Scripting.FileSystemObject”)

‘create output file
Set outFile = fs.CreateTextFile(“d:\folder_name.txt”)

‘set directory
Set oFolder = fs.GetFolder(“d:\”)

‘if get file name use this
‘Set oFiles = oFolder.Files

‘if get folder name use this
Set oSubFolder = oFolder.SubFolders

‘go through list
For Each i In oSubFolder

‘write to output
outFile.writeline i.Name

Next

WScript.Echo “Finish!”

18 February, 2011 at 5:46 pm Leave a comment

3 Normal Forms in Relational Database Theory

I find this guide easiest to understand:

First normal form (no items appear more than once)

  1. each col must have a unique name
  2. order of rows and cols doesn’t matter
  3. each col must have a single data type
  4. no 2 rows can contain identical values
  5. each col must contain a single value
  6. cols cannot contain repeating groups

Second normal form (primary key determine value of other columns)

  1. in 1NF
  2. all non-key fields depend on all of the key fields

Third normal form (value not determined by any non-primary key)

  1. in 2NF
  2. contains no transitive dependencies (when one non-key field’s value depends on another non-key field’s value)

Source: from Beginning Database Design Solutions (Rod Stephens)

7 February, 2011 at 2:58 pm Leave a comment

MySQL tutorials

Basics…

http://www.tizag.com/mysqlTutorial/index.php

 

2 February, 2011 at 12:01 am Leave a comment

[VBS] Delete break line for certain lines in text file

Google Doc

27 January, 2011 at 6:10 pm Leave a comment

Older Posts Newer Posts


January 2026
M T W T F S S
 1234
567891011
12131415161718
19202122232425
262728293031