Viewing 15 posts - 286 through 300 (of 395 total)
SELECT FK.[Name], TBL.[Name]
FROM sysobjects FK INNER JOIN sysobjects TBL
ON FK.parent_obj = TBL.id
WHERE FK.xtype ='F'
Did like above . is there any other straigh forward way of doing it
June 3, 2004 at 7:18 am
Thankx
I couldn't find it earlier
thankx again
June 3, 2004 at 4:32 am
IT WORKSSSSSSSS!!!!!!!
Thankx rockmoose and Chiara for the great help
June 1, 2004 at 4:32 am
NOOOOOOO it is not working from VB
here is VB code
connSConfig.Execute "SET IDENTITY_INSERT [AlarmClass] ON"
connSConfig.Execute "Insert into [AlarmClass] (ID,AlarmClass,Priority,BPM,WAVFile,PlayType,VectoringGroupID,AlarmHelpStringID,AlarmMsg,AlarmTextColor,AlarmBackColor,AckTextColor,AckBackColor) Values (11,'Cleared',10,10,'','',0,1,'',16777215,16711680,0,16777215)"
this gives folowing error
Cannot insert explicit value for identity column...
June 1, 2004 at 1:00 am
Sorry I couldn't tell you. I want it to do from VB / ADO will I be able to use same command from that also.
I can't try it here...
May 31, 2004 at 11:39 am
UPDATE a SET VectoringGroupID = 1
from AlarmConfig A INNER JOIN AlarmDef B
ON A.AlarmDefID = B.AlarmDefID
Where B.PointId = 2
May 23, 2004 at 10:45 pm
Get a book. I think it is the better way of learning.
And try to participate in this type of discussions. SQLServeCentral is another great resource which you will find
Good...
May 23, 2004 at 9:52 pm
Thankx all for your comments which help me lot
March 28, 2004 at 11:22 pm
Yes Bill , U are absolutly correct.
March 28, 2004 at 9:59 pm
CHeck this
March 25, 2004 at 11:52 pm
Select Len('Dianesh Asanka') - CHARINDEX(reverse('an'),reverse ('Dianesh Asanka'),0) - 1
Not sure above is correct
But u can use CharIndex,reverse,Len functions to achive this
March 25, 2004 at 3:33 am
Viewing 15 posts - 286 through 300 (of 395 total)