上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页
摘要: 是数据库下的一个逻辑命名空间,可以存放表、视图等数据库对象,是一个数据库对象的容器。如果把数据比喻成一个操作系统,那么架构就相当于操作系统中的文件夹,而架构中的对象就相当于这个文件夹中的文件。通过将同名表放置在不同架构中,使一个数据库中可以包含同名的表。属于一个架构的对象称为架构对象,它们依赖于该架 阅读全文
posted @ 2020-06-21 11:46 幻想Elapse 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 #include <cstdio> 3 using namespace std; 4 int main() 5 { 6 string s; 7 cin >> s; 8 int N = s.size(); 9 int n1=(N+2)/3, n3 = ( 阅读全文
posted @ 2020-06-21 11:04 幻想Elapse 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 #include <cstdio> 3 using namespace std; 4 struct node 5 { 6 char name[20]; 7 char gender; 8 char id[20]; 9 int grade; 10 }; 1 阅读全文
posted @ 2020-06-21 10:23 幻想Elapse 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 17分代码(测试点1,3错误) 1 #include<iostream> 2 #include <vector> 3 using namespace std; 4 struct node 5 { 6 string num,arrive,leave; 7 }; 8 int main() 9 { 10 阅读全文
posted @ 2020-06-20 17:30 幻想Elapse 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 #include <cstdio> 3 using namespace std; 4 int main() 5 { 6 char r[3] = {'W','T','L'}; 7 double v[3][3],sum=1.0,d; 8 for(int i 阅读全文
posted @ 2020-06-20 14:51 幻想Elapse 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 分离数据库可实现将数据库从一台数据库服务器移动到另一台数据库服务器,而不需要重新创建数据库分离前需要解除占用该数据库 1 exec sp_detach_db 'Students', 'true' --第二个参数true:跳过“更新统计信息”,false:运行“更新统计信息” 附加数据库将分离的数据库 阅读全文
posted @ 2020-06-20 12:39 幻想Elapse 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 扩大数据空间两种方法:扩大数据库中已有文件的大小,或为数据库添加新的文件 为数据库添加一个新的数据文件 1 alter database RShDB 2 add file 3 ( 4 name = 'RshDB_Data3', 5 filename = 'T:\DB\RshDB_Dat3.ndf', 阅读全文
posted @ 2020-06-20 12:17 幻想Elapse 阅读(357) 评论(0) 推荐(0) 编辑
摘要: 创建数据库: 1 CREATE DATABASE zmr 2 on primary 3 ( 4 name = 'StudentDB', 5 filename = 'T:\DB\StudentDB.mdf', 6 size = 3mb, 7 maxsize = unlimited, 8 filegro 阅读全文
posted @ 2020-06-19 18:37 幻想Elapse 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 #include <vector> 3 using namespace std; 4 struct node 5 { 6 int n; 7 double a;//n为次数,a为系数 8 }; 9 int main() 10 { 11 vector<no 阅读全文
posted @ 2020-06-19 17:43 幻想Elapse 阅读(78) 评论(0) 推荐(0) 编辑
摘要: 创建一个文件夹,路径不能有中文 文件->打开文件夹->打开刚刚的新建的文件夹 新建一个cpp文件 测试代码 #include <iostream> using namespace std; int main() { for(int i=0;i<10;++i) { cout << i<<endl; } 阅读全文
posted @ 2020-06-19 12:36 幻想Elapse 阅读(204) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页