skip to main
|
skip to sidebar
Code Breaker - The Rebuilds
Thursday, December 24, 2009
[MYSQL] Get All The Primary Keys Field Names
SELECT COLUMN_NAME
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_SCHEMA = 'database'
AND TABLE_NAME = 'table'
AND COLUMN_KEY = 'PRI'
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
About Me
Unknown
View my complete profile
Followers
Blog Archive
►
2012
(1)
►
May
(1)
►
2011
(4)
►
November
(3)
►
January
(1)
►
2010
(18)
►
October
(1)
►
September
(5)
►
August
(2)
►
June
(1)
►
May
(2)
►
March
(4)
►
February
(1)
►
January
(2)
▼
2009
(18)
▼
December
(11)
[MYSQL] Get All The Primary Keys Field Names
Required Bin dll files from O2003PIA:* Microsoft.O...
[.NET] Dataset to Excel, It is very simple!
[.NET] How To Create an Excel Macro by Using Autom...
[.NET] Reading any text base file
[CSS] Center the web page compatibility for Firefo...
[MSSQL] To view table fields information
[MSSQL] Format Date
[MSSQL] String Functions
[VPC] Extend Disk Capacity From Remaining Empty Pa...
[VPC] CONVERTING FAT32 to NTFS in Windows XP
►
November
(7)
No comments:
Post a Comment