select count(*) in SQL 2008 did not count actual record it is read header record it is read data from system table, you can use script below to get your statistics from database
DECLARE count INT DEFAULT 1;
WHILE count < 2000 DO
insert into youtTable (dateValue) values(DATE_ADD('12/1/2013',count 45 MONTH))
SET count = count + 1;
END WHILE;
both options has pros and cons, I have experience in both and huge number of website already written on both. I would say you should look on your internet provider the big reason which drive to...
the line Set objExec = Conn.Execute(strSQL) <------ Line 20
if wrong you executing insert statement, it will not return recordset, so it should be
Conn.Execute strSQL
you should use set only if...
how you relate your tables?
users (ID, name)
fields (ID, title)
entries (nameid,titleid,value)
you tables not related... it is does not make sense....
Of cause if you creating thousands records...
<PHP>
$resource=$connection->query(sprintf(
"SELECT *,
IFNULL(column1,column2) AS finalcolumn
FROM mytable
WHERE IFNULL(column1,column2) like '%s'",...
If you cares about both server load and response time save add another field in database and store html formatted textx and original text for search use original for display formatted... it is takes...
Just make sure all values you assigned is valid (check for missing value in not null fields, numeric fields must have numeric values - empty is not a numeric, length of value must be less them field...
1. ASP and PHP is 2 different languages and has 2 different compilers, so you can not mix php and asp inside the same page, but you can mix them inside website if your server configured to run php...