Viewing 15 posts - 106 through 120 (of 362 total)
[font="Verdana"]
Mark (1/16/2009)
Mahesh Bote (1/16/2009)
Delete From Store
Where Store.Metadata.exist('/author[not(contains(., "Per Bothner"))]') >= 0
It should delete those elements whos author is other...
January 16, 2009 at 7:54 am
[font="Verdana"]No, you are right. I have not mentioned the Delete statement.
Delete From Store
Where Store.Metadata.exist('/author[not(contains(., "Per Bothner"))]') >= 0
It should delete those elements whos author is other than "Per Bothner".
Mahesh[/font]
January 16, 2009 at 7:35 am
[font="Verdana"]Can't you use any reporting tools such as Crystal Report. I would suggest, queries should be to retrive data from DB and all the processing should be done at FE...
December 12, 2008 at 6:44 am
[font="Verdana"] instead you can try below method:
If Exists (Select * From dbo.SysObjects Where id = object_id(N'[dbo].[TempTest]') And OBJECTPROPERTY(id, N'IsTable') = 1)
Drop Table [dbo].[TempTest]
Go
Create Table TempTest (
Field! VarChar(10),
...
)
Go
Mahesh
[/font]
December 8, 2008 at 1:38 am
[font="Verdana"]such syntax will work with Oracle only. so it won't work in any version with SQL server
Mahesh[/font]
December 5, 2008 at 7:59 am
[font="Verdana"]Check the user credentials, other than SA, whether it has equivalent with SA.
Mahehs[/font]
December 5, 2008 at 1:15 am
[font="Verdana"]
Try
Create PROCEDURE NN
@OPT varchar(100) OUTPUT
AS
Select @OPT = replicate('A', 10)
Go
declare @OP varchar(15)
exec NN @OPT = @OP output
select @OP
Mahesh
[/font]
December 5, 2008 at 1:05 am
[font="Verdana"]Try this ...
Create Table Pivot_Tab
(FullNameVarChar(10)
,TeamVarChar(2)
,VolumeInt
,RangeVarChar(15))
Go
Insert Into Pivot_Tab
Select 'brian', 'G1', 1, '0 to 100' Union All
Select 'randy', 'G1', 2, '0 to 100' Union All
Select 'brian', 'G1', 3, '101 to 200' Union...
December 4, 2008 at 7:13 am
[font="Verdana"]
vasaharshit (11/4/2008)
i want some recursive function or stored procedure for the following purpose.
...
November 9, 2008 at 1:08 am
[font="Verdana"]I am not sure, but I think your servers must be linked servers. First link them and then try. (May be I guess right)
Mahesh[/font]
November 9, 2008 at 1:03 am
[font="Verdana"]you don't need another function to generate serial number. with some workaround you can generate serial number in the same query. if possible post your functions.
Mahesh[/font]
November 9, 2008 at 12:44 am
[font="Verdana"]
ankur (11/7/2008)
Thanks, It is working.Now my question is, whether I can check ISNotNull(x,y) or any other solution is available.
Thanks & Regards
Here, if you wants to return Y in case of...
November 8, 2008 at 7:05 am
[font="Verdana"]Its not possible to execute proc inside DML statements. Instead you go for UDF.
Mahesh[/font]
November 8, 2008 at 6:56 am
[font="Verdana"]Restart SQL Server, because TempDB is recreated whenever SQL server restarts
Mahesh
[/font]
October 29, 2008 at 6:24 am
Viewing 15 posts - 106 through 120 (of 362 total)