sql « char « C Data Type Q&A

Home
C Data Type Q&A
1.binary
2.bit
3.byte
4.char
5.character
6.decimal
7.Development
8.float
9.hex
10.integer
11.prime
12.random
13.struct
C Data Type Q&A » char » sql 

1. Trying to convert "yy/mm/dd hh:mm:ss" (stored as char) into datetime using computed column    stackoverflow.com

This seems like it should be simple but it's driving me up the wall. I have two columns - 'tx_date' and 'time' stored each as char(10). (bad database design I know, ...

2. Emulating the Sql parser (char* problems)    cboard.cprogramming.com

#include #include #include char* whereIsTheFile; void SQLquer(const char* query){ char* help; char* help1; char* help2; help= malloc((strlen(query)+1)*sizeof(char)); // I am dynamicly allocating the memory help= strcpy(help,query); // I copy query to the help, and put pointer at the beging to the help too help=(strstr(query,"FROM")) +6; // I look for FROM move, behind the first apostrof help1=help; //Now I put ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.