摘要:
首先开发Iphone相比大家都知道要学习Objective-C这门语言Xcode软件 必须运行在Mac机 没有的整一个吧 或者可以选择在自己的电脑中安装黑苹果 网上黑苹果教程比较全现在开始我们的开发之旅启动Xcode在File菜单下选择new Project----------图在左侧窗格中选择Command Line Utility右侧窗体中选择Foundation tool单机choose----------图弹出新窗口Save As中输入程序名可以选择一个放项目的文件夹----------图单机Save新项目就创建完毕----------图介绍下项目中的各个文件.c----------- 阅读全文
阅读排行榜
PGA的调整建议
2012-06-14 09:16 by java环境变量, 352 阅读, 收藏,
摘要:
通过10g新特性得到PGA的调整建议SELECT pga_target_for_estimate / 1024 / 1024 "PGA(MB)",pga_target_factor,estd_pga_cache_hit_percentage,estd_overalloc_countFROM v$pga_target_advice; PGA(MB) PGA_TARGET_FACTOR ESTD_PGA_CACHE_HIT_PERCENTAGE ESTD_OVERALLOC_COUNT---------- ----------------- ------------------ 阅读全文
获得系统当前时间
2012-04-18 16:35 by java环境变量, 352 阅读, 收藏,
摘要:
NSDateFormatter *nsdformatter=[[[NSDateFormatteralloc] init]autorelease]; [nsdformatter setDateStyle:NSDateFormatterShortStyle]; [nsdformatter setDateFormat:@"YYYY-MM-dd HH:mm:ss"]; NSString *timer=[nsdformatter stringFromDate:[NSDate date]]; NSLog(@"当前时间%@",timer); 阅读全文
sqlserver output
2012-06-04 13:42 by java环境变量, 351 阅读, 收藏,
摘要:
create table t3(sid int not null primary key,sname varchar(10))insert into t3 values(101,'wind')insert into t3 values(102,'snow')insert into t3 values(103,'kiki')select * from t3select * into t4 from t3 where 1=0select * from t4----insertinsert into t4 output inserted.sid,ins 阅读全文
获得客户端详细信息以及每个进程的sql语句
2012-02-08 09:30 by java环境变量, 350 阅读, 收藏,
摘要:
db性能下降时很多朋友都想监控到是哪个客户端、哪个用户、哪台客户端发起的什么会话sql语句,但是微软自带的要使用profiler才能实现,但是考虑性能问题,很多人不愿意!网上有很多脚本能监控到客户端信息,但是唯独不能获取客户端进程的sql语句!我自己写了一个,供参考:--1.新建存储过程--create proc prtest --@spid int --as --dbcc inputbuffer (@spid) --go --2.将结果保存到临时变量#tmpSELECT [Session ID] AS 会话ID , [Login] AS 用户名 , [Database] AS 数据库 , [ 阅读全文
浙公网安备 33010602011771号