⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sqlceoperateshow.cpp

📁 WinCE开发技巧与实例的配套源码
💻 CPP
字号:
// SQLCEOperateShow.cpp: implementation of the SQLCEOperateShow class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "sqlcedemo.h"
#include "SQLCEOperateShow.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

SQLCEOperateShow::SQLCEOperateShow()
{

}

SQLCEOperateShow::~SQLCEOperateShow()
{

}

//DEL bool SQLCEOperateShow::CreateCatlog(CEADORecordset *adoRs)
//DEL {
//DEL 
//DEL }

bool SQLCEOperateShow::CreateTable(CEADORecordset *adoRs)
{
return adoRs->Open(L"CREATE TABLE [tabletest] ( \
	[cust_id] [int] IDENTITY (1, 1) NOT NULL , \
	[FIXED_DAY] [int] NULL , \
	[MONTHLY_TARGET] [money] NULL , \
	[TARGET_PERCENT] [float] NULL , \
	[REGION_ID] [int] NULL , \
	[AREA] [float] NULL , \
	[ADD_DATE] [datetime] NULL )");
}

bool SQLCEOperateShow::InsertData(CEADORecordset *adoRs)
{
return adoRs->Open(L"select distinct(competitorname) changshang from competitor_prod");
}


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -