Today's Poll
Thursday, October 6, 2011
Powerplay tweaks and end of runners
West Indies' tour of Bangladesh, which begins with a Twenty20 on October
11, will be the first international series under the ICC's revised
playing conditions, which are effective from October 1. The amendments
are only applicable to international cricket.
The ICC's cricket committee had made the recommendations
after its meeting in London in May and they were passed by the
executive board at the annual general meeting in Hong Kong in June.
Powerplays (ODIs only)
In a full ODI, the teams can take the bowling and batting Powerplays (five overs each) at the start of an over after 15 overs of an innings have been bowled. They must complete the Powerplays by the 40th over, which means the last block of fielding restrictions must begin in the 36th over. The first ten overs will comprise the mandatory Powerplay. This condition will not apply to innings reduced to fewer than 40 overs.
In a full ODI, the teams can take the bowling and batting Powerplays (five overs each) at the start of an over after 15 overs of an innings have been bowled. They must complete the Powerplays by the 40th over, which means the last block of fielding restrictions must begin in the 36th over. The first ten overs will comprise the mandatory Powerplay. This condition will not apply to innings reduced to fewer than 40 overs.
Under the previous playing conditions, teams were allowed to take the
bowling and batting Powerplays at any time after the completion of the
tenth over of the innings.
Runners (All formats)
A batsman will not be allowed a runner under any circumstances. The batsman can retire hurt and return to bat at a later stage in the innings.
A batsman will not be allowed a runner under any circumstances. The batsman can retire hurt and return to bat at a later stage in the innings.
Two new balls per innings (ODIs only)
Each fielding team will be given two new balls to be used in alternate overs, one at each end. The mandatory change of the ball after the 34th over of an innings will not take place anymore.
Each fielding team will be given two new balls to be used in alternate overs, one at each end. The mandatory change of the ball after the 34th over of an innings will not take place anymore.
Obstructing the field (All formats)
If a fielding team appeals and the umpire feels the batsman has significantly changed his direction without probable cause, while running between the wickets, and obstructed an attempt to run him out, the umpire can give the batsman out for obstructing the field. It is not relevant whether a run out would have been affected or not. The on-field umpires are allowed to consult the third umpire in making the decision. The other circumstances in which a batsman can be out obstructing the field are still applicable.
If a fielding team appeals and the umpire feels the batsman has significantly changed his direction without probable cause, while running between the wickets, and obstructed an attempt to run him out, the umpire can give the batsman out for obstructing the field. It is not relevant whether a run out would have been affected or not. The on-field umpires are allowed to consult the third umpire in making the decision. The other circumstances in which a batsman can be out obstructing the field are still applicable.
Penalty time (All formats)
This amendment refers to the calculation of the time for which a player cannot bat or bowl because he or she was off the field.
This amendment refers to the calculation of the time for which a player cannot bat or bowl because he or she was off the field.
If a player, who still has some unexpired penalty time remaining from a
previous absence, is on the field when play is interrupted by bad
weather, light or other reasons, the duration of the stoppage will be
deducted from the remaining penalty time.
Bowler attempting to run out a non-striker before delivery (All formats)
Previously, the bowler could run out a non-striker backing up only if he did so before entering his delivery stride. This meant that as the bowler's back foot landed, the non-striker could move down the pitch before the bowler delivered the ball.
Previously, the bowler could run out a non-striker backing up only if he did so before entering his delivery stride. This meant that as the bowler's back foot landed, the non-striker could move down the pitch before the bowler delivered the ball.
According to a new playing condition, 42.11, "The bowler is permitted,
before releasing the ball and provided he has not completed his usual
delivery swing, to attempt to run out the non-striker. Whether the
attempt is successful or not, the ball shall not count as one of the
over. If the bowler fails in an attempt to run out the non-striker, the
umpire shall call and signal dead ball as soon as possible."
The umpires shall deem the bowler to have completed his delivery swing
once his bowling arm passes the normal point of ball release.
Extra time to complete a match (Tests only)
According to clause 16.2.2 of the Test match playing conditions: "The umpires may decide to play 15 minutes (a minimum of four overs) extra time at the scheduled lunch or tea interval of any day if requested by either captain if, in the umpires' opinion, it would bring about a definite result in that session. If the umpires do not believe a result can be achieved no extra time shall be allowed.
According to clause 16.2.2 of the Test match playing conditions: "The umpires may decide to play 15 minutes (a minimum of four overs) extra time at the scheduled lunch or tea interval of any day if requested by either captain if, in the umpires' opinion, it would bring about a definite result in that session. If the umpires do not believe a result can be achieved no extra time shall be allowed.
"If it is decided to play such extra time, the whole period shall be
played out even though the possibility of finishing the match may have
disappeared before the full period has expired.
"Only the actual amount of playing time up to the maximum 15 minutes
extra time by which play is extended on any day shall be deducted from
the total number of hours of play remaining, and the following session
of play shall be reduced by the amount of time by which play was
previously extended under this clause."
Delay of lunch interval when nine wickets down (Tests only)
If a team is nine wickets down at the time of the lunch interval, the break will be delayed by a maximum of 30 minutes. Previously, only tea was delay-able, while lunch was taken even if a team was nine down.
If a team is nine wickets down at the time of the lunch interval, the break will be delayed by a maximum of 30 minutes. Previously, only tea was delay-able, while lunch was taken even if a team was nine down.
Duration of interval between innings (ODIs only)
The minimum interval for an uninterrupted ODI match has been increased from 20 minutes to 30 minutes.
The minimum interval for an uninterrupted ODI match has been increased from 20 minutes to 30 minutes.
Wednesday, October 5, 2011
SQL Server Date Formats
| Standard Date Formats | |||
| Date Format | Standard | SQL Statement | Sample Output |
| Mon DD YYYY 1 HH:MIAM (or PM) | Default | SELECT CONVERT(VARCHAR(20), GETDATE(), 100) | Jan 1 2005 1:29PM 1 |
| MM/DD/YY | USA | SELECT CONVERT(VARCHAR(8), GETDATE(), 1) AS [MM/DD/YY] | 11/23/98 |
| MM/DD/YYYY | USA | SELECT CONVERT(VARCHAR(10), GETDATE(), 101) AS [MM/DD/YYYY] | 11/23/1998 |
| YY.MM.DD | ANSI | SELECT CONVERT(VARCHAR(8), GETDATE(), 2) AS [YY.MM.DD] | 72.01.01 |
| YYYY.MM.DD | ANSI | SELECT CONVERT(VARCHAR(10), GETDATE(), 102) AS [YYYY.MM.DD] | 1972.01.01 |
| DD/MM/YY | British/French | SELECT CONVERT(VARCHAR(8), GETDATE(), 3) AS [DD/MM/YY] | 19/02/72 |
| DD/MM/YYYY | British/French | SELECT CONVERT(VARCHAR(10), GETDATE(), 103) AS [DD/MM/YYYY] | 19/02/1972 |
| DD.MM.YY | German | SELECT CONVERT(VARCHAR(8), GETDATE(), 4) AS [DD.MM.YY] | 25.12.05 |
| DD.MM.YYYY | German | SELECT CONVERT(VARCHAR(10), GETDATE(), 104) AS [DD.MM.YYYY] | 25.12.2005 |
| DD-MM-YY | Italian | SELECT CONVERT(VARCHAR(8), GETDATE(), 5) AS [DD-MM-YY] | 24-01-98 |
| DD-MM-YYYY | Italian | SELECT CONVERT(VARCHAR(10), GETDATE(), 105) AS [DD-MM-YYYY] | 24-01-1998 |
| DD Mon YY 1 | - | SELECT CONVERT(VARCHAR(9), GETDATE(), 6) AS [DD MON YY] | 04 Jul 06 1 |
| DD Mon YYYY 1 | - | SELECT CONVERT(VARCHAR(11), GETDATE(), 106) AS [DD MON YYYY] | 04 Jul 2006 1 |
| Mon DD, YY 1 | - | SELECT CONVERT(VARCHAR(10), GETDATE(), 7) AS [Mon DD, YY] | Jan 24, 98 1 |
| Mon DD, YYYY 1 | - | SELECT CONVERT(VARCHAR(12), GETDATE(), 107) AS [Mon DD, YYYY] | Jan 24, 1998 1 |
| HH:MM:SS | - | SELECT CONVERT(VARCHAR(8), GETDATE(), 108) | 03:24:53 |
| Mon DD YYYY HH:MI:SS:MMMAM (or PM) 1 | Default + milliseconds | SELECT CONVERT(VARCHAR(26), GETDATE(), 109) | Apr 28 2006 12:32:29:253PM 1 |
| MM-DD-YY | USA | SELECT CONVERT(VARCHAR(8), GETDATE(), 10) AS [MM-DD-YY] | 01-01-06 |
| MM-DD-YYYY | USA | SELECT CONVERT(VARCHAR(10), GETDATE(), 110) AS [MM-DD-YYYY] | 01-01-2006 |
| YY/MM/DD | - | SELECT CONVERT(VARCHAR(8), GETDATE(), 11) AS [YY/MM/DD] | 98/11/23 |
| YYYY/MM/DD | - | SELECT CONVERT(VARCHAR(10), GETDATE(), 111) AS [YYYY/MM/DD] | 1998/11/23 |
| YYMMDD | ISO | SELECT CONVERT(VARCHAR(6), GETDATE(), 12) AS [YYMMDD] | 980124 |
| YYYYMMDD | ISO | SELECT CONVERT(VARCHAR(8), GETDATE(), 112) AS [YYYYMMDD] | 19980124 |
| DD Mon YYYY HH:MM:SS:MMM(24h) 1 | Europe default + milliseconds | SELECT CONVERT(VARCHAR(24), GETDATE(), 113) | 28 Apr 2006 00:34:55:190 1 |
| HH:MI:SS:MMM(24H) | - | SELECT CONVERT(VARCHAR(12), GETDATE(), 114) AS [HH:MI:SS:MMM(24H)] | 11:34:23:013 |
| YYYY-MM-DD HH:MI:SS(24h) | ODBC Canonical | SELECT CONVERT(VARCHAR(19), GETDATE(), 120) | 1972-01-01 13:42:24 |
| YYYY-MM-DD HH:MI:SS.MMM(24h) | ODBC Canonical (with milliseconds) | SELECT CONVERT(VARCHAR(23), GETDATE(), 121) | 1972-02-19 06:35:24.489 |
| YYYY-MM-DDTHH:MM:SS:MMM | ISO8601 | SELECT CONVERT(VARCHAR(23), GETDATE(), 126) | 1998-11-23T11:25:43:250 |
| DD Mon YYYY HH:MI:SS:MMMAM 1 | Kuwaiti | SELECT CONVERT(VARCHAR(26), GETDATE(), 130) | 28 Apr 2006 12:39:32:429AM 1 |
| DD/MM/YYYY HH:MI:SS:MMMAM | Kuwaiti | SELECT CONVERT(VARCHAR(25), GETDATE(), 131) | 28/04/2006 12:39:32:429AM |
Get date of all Sundays in a given year - sql server
declare @d datetimeselect @d = '20100101' --'20090101' if you want 2009 etc etc
select dateadd(dd,number,@d) from master..spt_valueswhere type = 'p'
and year(dateadd(dd,number,@d))=year(@d)
and DATEPART(dw,dateadd(dd,number,@d)) = 1
Tuesday, October 4, 2011
Monday, October 3, 2011
Umar Akmal dropped from Test squad
Umer Akmal has been dropped from the Pakistan Test squad for their series against Sri Lanka in the UAE starting later this month. Shoaib Malik, who was on Pakistan's tour of Zimbabwe after gaining clearance from the PCB, finds a place in the 15-man squad.
Umar Gul and Wahab Riaz return to the squad after being rested from the Zimbabwe tour, and are joined by Aizaz Cheema and Junaid Khan in the fast-bowling department, with no place for Sohail Tanvir or Tanvir Ahmed.
Imran Farhat, who returned to the Pakistan squad for the Zimbabwe tour, has been picked as a third opener along with Mohammad Hafeez and Taufeeq Umar. Abdur Rehman returns after being rested for the Zimbabwe tour, and joins Saeed Ajmal in the spin attack.
Umar Akmal has not scored a Test century since his debut in 2009. After a poor year in 2010, when he averaged just 24.33, he was left out of the XI for the two Tests in New Zealand. He returned to the side for the Tests in the West Indies, but after scoring just one Test half-century this year, and struggling to play long innings in ODIs as well, he has been left out of the Test squad.
"Umar is a talented cricketer but he was not justifying his place in Test cricket," Mohsin Khan, Pakistan's chief selector, said in explanation of the decision. "This was the reason our middle order was facing problems during the recent tour [of Zimbabwe]. He may be good in limited-over cricket but Tests and ODIs are contrasting games.
"In Tests, Umar is required to play long innings so we have advised him to play domestic cricket and learn to bat for long."
Umar Akmal's exclusion means Asad Shafiq and Shoaib Malik will be fighting for a middle-order spot. After a year out of the Pakistan setup, Malik gained clearance from the PCB's integrity committee just in time to go to Zimbabwe. He did not play the Test there and did not make an impact in the ODIs and Twenty20 internationals. He has been consistently performing on the domestic circuit, finishing as the second-highest run-getter in the Quaid-e-Azam Trophy Division One last season, with 799 runs at an average of 73.57. Shafiq, meanwhile, has struggled in Tests since getting half-centuries in each of his first two innings.
Malik's inclusion in the squad comes on the same day he led Sialkot to a win in the final of the Faysal Bank T20 Cup, after getting them there with an unbeaten 88 in the semi-final. Mohsin, though, said his Twenty20 performances were not a factor when deciding the Test squad. "Shoaib is not selected on the basis of the ongoing Twenty20 Cup but what inspired us was his fitness and the form he is currently in."
The other notable exclusion from the squad is Tanvir Ahmed, who has taken 16 wickets in the four Tests he has played since debuting against South Africa in November last year. He was not on the tour of Zimbabwe, though, and Cheema, who took eight wickets on debut in the Bulawayo Test and another eight wickets in the three-match one-day series, keeps his place.
Cheema was one of several fringe players given a chance on the Zimbabwe tour, but not all have retained their places in the squad. "There might be players dropped following the recent Zimbabwe tour but that was a chance taken on youngsters," Mohsin said. "We actually had to try new players and now we have a picture of who stands where."
Junaid Khan also made his Test debut in Bulawayo, and though he was not as successful as Cheema, he was selected, Mohsin said, because of his ability to bowl fast. "If Junaid was retained despite his unimpressive form it is because we need to have a genuine fast bowler."
The first of three Tests starts on October 18 in Abu Dhabi.
Squad: Mohammad Hafeez, Taufeeq Umar, Imran Farhat, Azhar Ali, Younis Khan, Misbah-ul-haq (capt), Asad Shafiq, Adnan Akmal (wk), Shoaib Malik, Saeed Ajmal, Abdur Rehman, Aizaz Cheema, Wahab Raiz, Umar Gul, Junaid Khan
Standby players: Tanvir Ahmed, Mohammad Talha, Sarfraz Ahmed (wk), Yasir Shah
Saturday, October 1, 2011
Step by Step SharePoint Server 2010 Installation Guide
Introduction
This article provides a step by step Installation and Prerequisites Software requirement for SharePoint server 2010beta installation.
Finally! My long awaited SharePoint Server 2010 beta is ready for download… (http://technet.microsoft.com/en-us/evalcenter/ee391660.aspx) I installed it successfully on VMWARE Workstation, alternatively you can use VirtualBox.
Given below is a step by step Installation guide.
List of Prerequisites Software
- Windows server 2008 with SP 2 / Windows 7 / Vista (All OS must be 64bit)
- Windows 2008 R2 and Windows Server 2008 KB971831
- WCF Fix article for Windows 2008 R2 and Windows 7 KB976462
- Microsoft SQL Server 2008 Native Client
- Microsoft "Geneva" Framework Runtime
- Microsoft Sync Framework Runtime v1.0 (x64)
- Microsoft Chart Controls for Microsoft .NET Framework 3.5
- Microsoft SQL Server 2008 Analysis Services ADOMD.NET
- PowerShell V2 RTM
- SQL Server 2008 SP1
- .NET Framework 3.5 Service Pack 1 (Full Package) KB959209 KB967190
Installing OS on VMWARE Workstation 7.0
Installing Windows Server 2008 with SP2 on VMWARE Workstation 7.0 may prompt the following error:
“You have configured this virtual machine as a 64-bit guest operating system…”
By default, Lenovo T61 laptop’s ship with virtualization technology and set VT is disabled.
In order to enable VT on laptop, please shut down your laptop and go to BIOS setup > CPU > Virtualization technology > Enable and Press F10 to Save and Exit.
Install Windows server 2008 with SP 2.
Download prerequisites software (if you need to share your PC folder to access from VMWARE) enable Share folder option:
Go to VM > Setting > Options > Shared Folder > Enable and Select your Pre-request software download folder.
Run > SharePoint Server 2010 Application file, system will extract files and show the above screen, under Install > click Install Software prerequisites…
System will run for few minutes and display the following error message:
Install your prerequisites software that you downloaded one by one (if possible, follow the above order as shown in the error message).
Note: If you try to install Hotfixes from your Share Folder system may prompt “error code 0x80070003” please copy your hotfix files to Windows server and click Install.
Once you get the above screen “Installation Complete”, click "Install SharePoint Server” link:
Read your License terms and click I accept and start Installation:
Select Standalone option, if you are installing with SQL Express 2008 server. If you are installing SQL Server 2008 and SharePoint 2010 farm servers, then select Server Farm option. Since I am using VMWARE installation, I select Standalone option.
System will start the Installation progress…
System would take several minutes to complete installation and prompt for Configuration Wizard.
Run your Configuration wizard and click next >
Step 2 on Configuration wizard click “Yes” to start IIS and SharePoint Admin, Timer service.
Configuration wizard continue 2 of 10 tasks and if everything is ok, the system will display the following screen. (Please note that it will take several minutes to complete. It's not as fast as SharePoint 2007 configuration wizard)
Congratulations… you successfully Installed SharePoint 2010.
System will launch SharePoint 2010 Central Administration screen…
Enjoy… and provide me your feedback…
Subscribe to:
Posts (Atom)