|
|
-
Adam Tokarski Liked 1 Years ago through Blogs | 1 Point
You can use Ordinal position in the ORDER BY Clause for sorting the resultset. The ordinal position refers the column position in the SELECT statement. Consider the following select statement
select * from
(
select 17 as a,2 as b
union all
select...
|
-
Adam Tokarski refreshed 1 Years ago through Blogs | 1 Point
You can use Ordinal position in the ORDER BY Clause for sorting the resultset. The ordinal position refers the column position in the SELECT statement. Consider the following select statement
select * from
(
select 17 as a,2 as b
union all
select...
|
-
Adam Tokarski Posted 1 Years ago through Blogs | 10 Points
How build a trap for self using float type. ...
|
|
|
-
Adam Tokarski Liked 1 Years ago through Blogs | 1 Point
I recently downloaded a cool fighter plane game (iFighter lite) on my iPhone. As I started playing, I felt that plane is moving a bit slow!! But soon enough I saw a little perk on the screen and I flew over it and suddenly plane's speed increased. Soon ...
|
-
Adam Tokarski Commented 1 Years ago through Blogs | 1 Point
Very nice, but what may be reason that I - using your example - do not have any records? Is that means that table can be stored at any other place?...
|
-
Adam Tokarski Liked 1 Years ago through Blogs | 1 Point
Did you know that table variables are stored in the tempdb database for execution scope only?. Ok. Let us run this code
declare @t table(i int)
select * from tempdb.INFORMATION_SCHEMA.TABLES
The result is
TABLE_CATALOG TABLE_SCHEMA TA...
|
-
Adam Tokarski learned 1 Years ago through Blogs | 1 Point
Did you know that table variables are stored in the tempdb database for execution scope only?. Ok. Let us run this code
declare @t table(i int)
select * from tempdb.INFORMATION_SCHEMA.TABLES
The result is
TABLE_CATALOG TABLE_SCHEMA TA...
|
-
Adam Tokarski Liked 1 Years ago through Blogs | 1 Point
We know that it is impossible to access a temporary table from within a user define function
e.g., the following script will fail
--Checks if the #Temp table exists or not and if so drops it
IF OBJECT_ID('tempdb..#Temp') IS NOT NULL
BEGIN
Drop Ta...
|
-
Adam Tokarski learned 1 Years ago through Blogs | 1 Point
We know that it is impossible to access a temporary table from within a user define function
e.g., the following script will fail
--Checks if the #Temp table exists or not and if so drops it
IF OBJECT_ID('tempdb..#Temp') IS NOT NULL
BEGIN
Drop Ta...
|