Viewing 15 posts - 46 through 60 (of 168 total)
As of now there is no direct command is available for this, Its In the wish list for future releases
You can easily do...
September 27, 2006 at 3:31 pm
Try this
Select
COALESCE(CASE RTRIM(Mobile) WHEN ''...
September 27, 2006 at 2:47 pm
Change Null to ad_num in Case statement like this
update @table
set ad_num =
case
WHEN (CHARINDEX(' ', ad_str1) < 10) AND (CHARINDEX(' ', ad_str1) <> 0)
--creates...
September 27, 2006 at 2:06 pm
You can try this
select
name, fn, val,cast (val/0.65...
September 26, 2006 at 10:35 am
When you create a PRIMARY KEY constraint, a unique index on the column, or columns, is automatically created. By default, this index is clustered; however, you can specify a nonclustered...
September 22, 2006 at 4:06 pm
You can get this information from Information_schema views like this
select
* from information_schema.columns where column_name
September 22, 2006 at 3:57 pm
try this also
Select max(startdate) as startdate, max(starttime) as starttime, max(page) as page, p.pageid FROM Page_History P
Inner Join
(select pageid,max(startdate) as maxdate from Page_History Group by pageid) B
on p.startdate=b.maxdate and p.pageid=b.pageid
Group by...
September 22, 2006 at 2:23 pm
use dynamic sql
declare @param sysname, @sql nvarchar(4000)
set @param ='tablename'
set @sql='Create table '+ @param+'(sno int)'
exec sp_executesql @sql
September 21, 2006 at 12:45 pm
try this for your problem
CREATE
Function dbo.fnAFCompExitCTMgrAI(@YYear int , @MonthNum
September 20, 2006 at 11:33 am
September 20, 2006 at 10:49 am
you can add Givendate to where clause like this
Declare @Givendate datetime
set @GivenDate='10/09/2006'
select a.RecID,a.MemNo,a.DateCalled from grTest a inner join
(select MemNo,max(DateCalled) as maxdate from grTest
where convert(varchar,DateCalled,101)=convert(varchar,@GivenDate,101)
Group by MemNo) b
on a.MemNo=b.MemNo and a.DateCalled=b.maxdate...
September 19, 2006 at 6:05 pm
try this
select a.RecID,a.MemNo,a.DateCalled from ABC a inner join
(select MemNo,max(DateCalled) as maxdate from ABC
Group by MemNo) b
on a.MemNo=b.MemNo and a.DateCalled=b.maxdate
September 19, 2006 at 5:53 pm
First of all, try to execute the Query in Remote Server, if it is executed succesfully then try with simple select query to remote server then
try again OPENQUERY with the...
September 19, 2006 at 2:52 pm
try this
SELECT
* FROM OPENQUERY([HHFNT-DW],'SELECT 0 AS MANUAL,C.HMO,C.ID,C.CLAIM,C.LINE,C.ORIG_CLM_NUM,C.PX_DE,C.PX__PROCEDURE_CODE,C.PX__NAME,MBCL.MOD AS MOD_DE,
D5.MODIFIER_CODE AS MOD__MODIFIER_CODE,
...
September 19, 2006 at 11:01 am
Viewing 15 posts - 46 through 60 (of 168 total)