Narrated Abu Huraira:
While the Prophet was saying something in a gathering, a Bedouin came and asked him, "When would the Hour (Doomsday) take place?" Allah's Apostle continued his talk, so some people said that Allah's Apostle had heard the question, but did not like what that Bedouin had asked. Some of them said that Alllah's Apostle had not heard it. When the Prophet finished his speech, he said, "Where is the questioner, who enquired about the Hour (Doomsday)?" The Bedouin said, "I am here, O Allah's Apostle ." Then the Prophet said, "When honesty is lost, then wait for the Hour (Doomsday)." The Bedouin said, "How will that be lost?" The Prophet said, "When the power or authority comes in the hands of unfit persons, then wait for the Hour (Doomsday.)"
1.what is .netframework?
ReplyDelete.netframework is product given by microsoft for windows operating system
it is development environment
2.Is .netframework platform dependent or independent?
3.what is CLI?
4.What is CLS?
5.What is CTS?
6.What is difference between .netframework and mono?
7.what is MSIL code?
8.What is an assembly?
9.How is the content of assembly in text format?
10.what is the difference between COM component and Assembly?
11.Can we use COM component in .net application?
12.what is task of CodeManager ?
13.What is CLR,and its task?
14.What is the difference between Managed code and unmanaged code?
15.What is Garbage collector?
16.What is Managed Heap?
17.can I use .net component in COM component?
18.what is WINAPI?
19.Can I WinAPI in .netframework?
20.what is the difference between value types and reference types?
21.What is base type for reference types?
22.what is JIT?
23.how many types of jit compilers are there?
24.what is PE file?
25.what is the difference between PE file and Assembly?
26.what is appdomain and when it is created?
27.is it possible to create an appdomin by programmer?
28.what is the difference between AppDomain and PCB?
29.what are the different types of assemblies?
30.what is Strong name key?
31.How to create strong name Key?
32.what is the use of private key in Strong name key?
33.what is Digital signature ?
34.what is the use of public key in Strong name key?
35.what are the different parts in version of assembly?
36.what is the difference between private assembly and public assembly?
37.what is satellite assembly?
38.what is delay signing?
39.what is GAC?
40.What is DLL hell problem and how to avoid it in assemblies?
41. What are generations and how are they used by the garbage collector?
42. What is Ilasm.exe used for?
43. What is Ildasm.exe used for?
44. What is the ResGen.exe tool used for?
45.what is Manifest and its parts?
46.what is the tool used to install assembly in GAC?
47.what is the use of System.GC.Collect()?
48.what is difference between COM,COM+,DOM?
49.what is the difference between namespace and Assembly?
50.what are different technologies of .netframework?
51.can source code reverse engineered from IL code?
52.How can I stop my IL code being reverse engineered?
53.Can I write IL code programs directly?
54.Can I do things in IL that can not be done in C#?
55.what is the size of .net object?
SQL Server Management Studio
ReplyDeleteSQL Server Management Studio is an all-in-one database management and developer application. Its Interface will be new to the database administrator but comfortable for the developer because it has a visual studio-style interface.
Ranking functions
1. Row_number
Displays row numbers
Select row_number() over (order by orderdate desc) as rownum,
Salesorder_id,customer_id,orderdate
From Sales.SalesOrderHeader
Order by OrderDate Desc
Select row_number() over (order by orderdate desc) as rownum,
Salesorder_id,customer_id,orderdate
From Sales.SalesOrderHeader
Where rownum between 101 and 120
Order by OrderDate Desc
Create proc info1 @a int, @b int
As
Select * from (select row_number() over (order by orderdate desc) as rownum,
Salesorderid,customerid,orderdate,from sales.salesorderheader) 0
Where rownum between @a and @a+@b-1
Order by orderdate desc
Other Ranking functions
Select row_number() over (order by city) as rownum,
Rank() over( order by city) as rank,
Dense_Rank() over (order by city as DenseRank,
Ntile(3) over( order by city) as ntile_3,
Ntile(4) over(order by city) as ntile_4,
City, stateprovincecode
From person.address as address
Inner join person.stateprovince as stateprov
On address.stateprovinceid=stateprov.stateprovinceID where countryregioncode=‘US’ and StateprovinceCode=‘AZ’
New DataTypes
Varchar(max)
Nvarchar(max)
Varbinary(max)
Has been enhanced to support upto 2 gb of data.
Common Table Expression
CTE is a new feature that allows you to define a virtual view to be used in another data manipulation language(DML) statement(such as select). In most cases, you can still use a derived table to accomplish the same task, but CTE offers additional features(such as recursive query support) that,until now, were not only difficult to implement , but usually required very complex T-SQL coding to achieve.
Derived table example
Select * from production, product as P
Inner join (select productmodeliD,avg(listprice as avgprice from production, product group by productmodeliD) as C
On p.productmodeID=c.productModelid and p.listprice > c.avgprice
CTE example
In CTE with keyword need to be used
With c (productmodelid, avgprice)
As (select productmodelid, avg(listprice as avgprice from production. Product group by productmodelid)
Select * from production.product as p
Inner join c
On p.productionmodelid=c.productmodelid and p.listprice>c.avgprice