Search Results

Showing results 1 to 5 of 5
Search took 0.01 seconds.
Search: Posts Made By: rathnakar
Forum: MS SQL Jul 15th, 2009
Replies: 2
Views: 518
Posted By rathnakar
hi friend,
the above query is useful for only sql server 2005 but not for sqlserver 2000.

i have solution for that

select top 12 * from orders where orderid not in(select top 3 orderid from...
Forum: MS SQL Jul 14th, 2009
Replies: 2
Views: 1,276
Posted By rathnakar
hi friend,
followind queries will help u,

update table1 set column1=b.column1 from table1 a,table2 b
where a.column2=b.column2
or
update table1 set column1='ap' where dist in(select dist...
Forum: MS SQL Jul 14th, 2009
Replies: 5
Views: 1,164
Posted By rathnakar
hi friend,
to disable trigger :
DISABLE TRIGGER trigger_create
to enable trigger:
enable TRIGGER trigger_create

regards,
rathnakar
Forum: MS SQL Jul 14th, 2009
Replies: 4
Views: 1,830
Posted By rathnakar
hi friend,
this query selects 4th max record from the table .

select top 1 * from vehicles where sno in(select top 4 sno from vehicles )order by sno desc

regards,
rathnakar
Forum: MS SQL Jul 14th, 2009
Replies: 2
Views: 898
Posted By rathnakar
hi friend ,
use following query in your code(sql command)

select case when date1 is null then 'date is not found' else convert(nvarchar,date1,105) end as date1 from datetest

regards,...
Showing results 1 to 5 of 5

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC