我需要在SqlServer Compact中添加默认值列....我是这个SQL服务器的新手,所以Plz有人告诉我解决方案......
提前致谢
答案 0 :(得分:4)
答案 1 :(得分:0)
https://technet.microsoft.com/ru-ru/library/ms174123(v=sql.110).aspx
<?php
include 'configa.php';
$sql1 = mysql_query("SELECT * FROM `message_store_push`") or die(mysql_error());
$c = mysql_num_rows($sql1);
$i=0;
while($sql2 = mysql_fetch_array($sql1)){
$arrDet['AddressDetails']['details'][] = $sql2;
}
if($c>0){
$arrDet['Details']['status'] = "success";
} else {
$arrDet['Details']['status'] = "No data";
}
echo json_encode($arrDet);
?>