Wednesday, August 7, 2013

புரோகிராமிங் என்றால் என்ன? தொடர் 1

புரோகிராமிங் என்பது கணிணி என்ன செய்யவேண்டும் என்பதை குறிப்புகளாக programming language ல் அதற்கு புரிகிற மாதிரி எழுதி நமக்கு தேவையான ரிசல்டை பெறும் ஒரு கலை.புரோகிராம் கற்றுக்கொள்ள நாம் படிக்கும் புத்தகங்களும் இணையதளங்களில் கிடைக்கும் விவரங்களும் புரிந்துகொள்ள கடினமாக இருப்பது போல தோன்றினாலும், புரோகிராம் எழுதுவது ஒன்றும் அத்தனை கடினமானதன்று.Programming language ல் உள்ள கமாண்டுகளை தெரிந்து கொண்டு கொடுக்கப்பட்ட பிரச்சினைகளை - கேள்விகளை உள்வாங்கி அதற்கு எப்படி தீர்வு காணவேண்டும் என்ற லாஜிக் உங்களுக்கு இருந்தால் நீங்கள் ஒரு புரோகிராமர் ஆகிவிடலாம்.ரொம்ப...

SQL Server system function (T-SQL) and brief description.

Normal 0 false false false EN-GB X-NONE TA System Functions (T-SQL)@@ERROR : Returns the error number for the last Transact-SQL statement executed.@@IDENTITY : Returns the last-inserted identity value.@@ROWCOUNT : Returns the number of rows affected by the last statement.@@TRANSCOUNT : Returns the number of active transactions for the current connection.APP_NAME : Returns the application name for the current session if set...

Cumulative Sum in SQL

Running Total in SQLCumulative Sum in SQLSome time we need to do cumulative sum or running total in a table. In SQL we can easily do it. The following code will help us.DECLARE @Temp TABLE (SL          INT,GroupName   NVARCHAR(100),Amount      DECIMAL(18,2))INSERT INTO @Temp VALUES(1,'Number-1',5)INSERT INTO @Temp VALUES(2,'Number-2',8)INSERT INTO @Temp VALUES(3,'Number-3',2)SELECT      T1.SL,            T1.GroupName,            T1.Amount,            SUM(T2.Amount) as CumulativeSumFROM  @Temp...

Transactions in SQL Server

TransactionsA transaction groups a set of task into a single execution unit. Every transaction begins with a specific task and ends when all the tasks in the group successfully complete. If the execution of any of the tasks is fails, the transaction is fails. Therefore, we can say a transaction has only two results: success or failure. Any incomplete steps result in the failure of the total transaction.Properties of TransactionsEvery Transaction has the following four standard properties and in short form generally called ACID:Atomicity: Ensures...