Viewing 15 posts - 391 through 405 (of 1,048 total)
When I checked the BOL i found that there is a line stating:
If a table name is aliased in the FROM clause, only the alias name can be used to...
July 14, 2013 at 11:32 pm
Lokesh Vij (7/14/2013)
Easy one for Monday morning 🙂Thanks Pramod!
+1 🙂
July 14, 2013 at 11:25 pm
Thanks Sean for that link of Gail 🙂
July 13, 2013 at 12:47 am
This is not an Oracle forum...
It will be good if you post your query in proper forum
July 12, 2013 at 7:48 am
ChrisM@Work (7/12/2013)
kapil_kk (7/12/2013)
Thanks Chris :-),In past also you make me learn Tally table n many things, its my pleasure to learn new things from you always.. :-P:-D
You're welcome! I learn...
July 12, 2013 at 4:28 am
Thanks Chris :-),
In past also you make me learn Tally table n many things, its my pleasure to learn new things from you always.. :-P:-D
July 12, 2013 at 4:13 am
Chris, I am not clear what you did....
Will this query be work in this manner..
If a voucher is 'Active at Ho' or its status is 'Dispatched' it is correct But...
July 12, 2013 at 3:47 am
IF (SELECT COUNT(*) FROM table_name) > 2
BEgin
SELECT * from Table_name
END
ELSE
BEGIn
Print 'Min Row Cond not valid'
END
July 12, 2013 at 3:39 am
Ok I will change my code in that manner...
But can you please suggest me how can I accomplished my required query
July 12, 2013 at 3:33 am
This can be achieved using PIVOT...
Refer this link:
http://blog.sqlauthority.com/2008/06/07/sql-server-pivot-and-unpivot-table-examples/
July 12, 2013 at 1:12 am
Thanks Hanshi, I also solved in similar manner 🙂
July 11, 2013 at 4:42 am
I tried and got the solution in the below manner but I am looking if there is any other approach for this:
Declare @count int , @count1 int
SELECT @count = ...
July 11, 2013 at 4:36 am
can you please post your actual query so that we can look into that
July 10, 2013 at 7:59 am
Lokesh Vij (7/8/2013)
Nice and easy! Thanks Pramod
+1 🙂
July 8, 2013 at 11:35 pm
Viewing 15 posts - 391 through 405 (of 1,048 total)