Viewing 15 posts - 31 through 45 (of 58 total)
Thats right.
CREATE view t1t3
as
select t1.srno as T1SRNO,t3.srno as T3SRNO,t1.fname as T1FNAME, t3.fname as T3Fname, t1.lname as T1Lname,t3.lname as T3Lname
from t1 inner join t3 on t1.srno=t3.srno
CREATE view t1t3limit
as
select t1.srno as...
September 19, 2005 at 7:25 am
The size is varchar(100).
I am omitting some columns, ofcourse.
Heres the picture
I have two tables
T1 and T3, having similar structures.
fname varchar(100)
lname varchar(100)
srno int (identity)
In query I am omitting column T1LNAME and...
September 19, 2005 at 1:31 am
I dont have that info right now as I am not at my office, but the width (thickness) of a coulmn, how would it impact the query? Since they are...
September 16, 2005 at 10:50 pm
Its a development environment, hence I can afford the restarts.
Query Analyzer is opened on the server PC so network is...
September 16, 2005 at 7:37 am
I executed these commands before I executed the queries.
DBCC FREEPROCCACHE
DBCC DROPCLEANBUFFERS
And if they werent enough, I even stopped and restarted my dev server.
The execution plans are as..
View - V1
September 16, 2005 at 7:32 am
OK I did some testing and here are my observations.
I created 2 tables each containing about 300000 records. I joined them in a view, didn’t use any where clause and...
September 16, 2005 at 7:01 am
Thanks for replying Lee.
I gave it some more thought and I think a stored procedure with a flag as an input parameter which would determine which query to execute (a...
September 15, 2005 at 7:26 am
Both A and B are correct answers. I chose A, do I still get the points?
September 5, 2005 at 11:27 pm
In development environment usually, there is less load on the server (obviously), which is hosting the database hence the response time for the query is faster. But if the database...
August 31, 2005 at 7:33 am
Table variables are NOT created in memory. They are created in temp DB. As a rule of thumb use table variables if you are "NOT DEALING" with hugh...
August 8, 2005 at 12:21 am
Thanks for the info.
I could establish the connectivity using the IBM DB2 drivers
The problem was that the object owner for the schema table...
July 28, 2005 at 10:55 pm
Can I specify the prefetch clause so that I can regulate (read increase) the number of rows of data that gets copied from the database to the client, as this...
July 11, 2005 at 3:36 am
The reason why I want asynchronous execution is because that way both the queries will get executed on the same connection simultaneously and at the same time hence it will...
July 10, 2005 at 10:55 pm
Viewing 15 posts - 31 through 45 (of 58 total)