Sunday, November 13, 2011

Data entry when IDENTITY_INSERT is set to OFF.


If you get an error message while inserting records in a table.
Error message looks like : Cannot insert explicit value for identity column in table ‘dbo.InverterData’ when IDENTITY_INSERT is set to OFF.
to fix this ; SET IDENTITY_INSERT dbo.InverterData ON;  before insert command and after insert enter this: SET IDENTITY_INSERT dbo.InverterData OFF;

SET IDENTITY_INSERT dbo.InverterData ON;

INSERT INTO   dbo.InverterData
(  Id, CurrentL1,  CurrentL2,  CurrentL3,  GridFrequency,  Power,  SampleTime,  Temperature,  TotalEnergy,  TotalEnergyToday,  TotalHours,  InverterId )
VALUES (   5, 33, 43, 53,8,68,21/11/2011 13:00:00,210,2 );

SET IDENTITY_INSERT dbo.InverterData OFF;
GO

Thursday, July 7, 2011

Scrum tool - iceScrum (Agile product development) used for test driven development.

Sand box for collecting user stories.
here in image below you see the  user stories defined after meeting with team. Product owner can view the page online and provide comments over priority of a user story and can ask team to shift a user story to later sprint or add a user story to current sprint. Keeping the product owner in loop from the first day. this helps to keep transparency and structure in the planned tasks and priorities.


the image below shows how some acceptance test cases are written of each story to ensure that what understood related to the user story is correct. Team can review the test cases and developers can even use it as a checklist before asking testes to test the user story. Moreover the product owner can check if the team understood what he wanted in the user story and all people are on same understanding level. Any feedback can be provided and further this can be used to revise a user story or add a reminder or exceptions to be specific on to what is expected and what is agreement with product owner and what is delivered.

tabular form of sandbox.



product backlog,



tabular form  of  product backlog



sprint3 log view





Sprint Plan.





tabular form sprint plan




burn down in hours




Burndown in stories.



Friday, April 15, 2011

Backup and Restore of MS SQL Server database using EMS


1) Right click at the project name and select the Tasksà Backup database.

2)click next and next
3) now click at ADD ITEM.
Create a folder on d: of server and select this folder.


Next and then FINISH

Restoring Database in EMS:
1) right click at the Databse in EMs and select in tasks, Restore database

2)      select defaults and then in next screen select the backup file 

4) In this screen click at CLEAR and it will remove all the connections to DB and then click Finish. Database will be restored. Check by connecting again.
5) Each time you do a backup remember to delete the file you made last time. Or give any new name to new backup.



Json extractor and While loop

Waiting for a specific value in response of api request. using while loop. Add a While Loop. The api requets will be executed inside th...