Viewing 15 posts - 1 through 15 (of 89 total)
hi Andy
i have procedure in sql server s follows
ALTER proc testing
as
begin
--select 'testing'
delete from obj
INSERT INTO Obj(objName,blnisvalid)
SELECT NAME,dbo.fn_IsValidObjectName(NAME) FROM sysobjects
WHERE XTYPE='V'
SELECT objName FROM Obj
WHERE blnisvalid = 1
ORDER BY objName...
January 28, 2009 at 11:32 pm
Thanks
IS_SRVROLEMEMBER function is working
thanks once again
June 10, 2008 at 9:51 pm
EXAMPLE IS QUESTION WAS POSTED!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!:D
May 22, 2008 at 6:06 am
SEE I HAVE EMS_SOURCE DATABASE AND EMS_DESTINATION DATABASE I AM COPYING SOME RECORDS FROM EMS_SOURCE DATABASE TO EMS_DESTINATION DATABASE WITH SOME MORE JOINTS. MY PROBLEM IS THE SOURCE AND DESTINATION...
May 22, 2008 at 6:01 am
Matija Lah (5/22/2008)
shamshudheen (5/22/2008)
In update statement derived table is not allowed, alternate you can use temp table to store derived table record and then you join the temp tablebye
That's simply...
May 22, 2008 at 5:06 am
In update statement derived table is not allowed, alternate you can use temp table to store derived table record and then you join the temp table
bye
May 22, 2008 at 2:22 am
premnathk.chn (5/15/2008)
I thought of dropping and adding primary keys but the problem is that the script turns out to be more complex since there are certain tables...
May 15, 2008 at 7:03 am
Lata Patel (5/13/2008)
i have put following code before appending the parameters.
For C = 0 To cmd.Parameters.Count - 1
...
May 15, 2008 at 2:29 am
yes you are right, drop the constraint and after updation ADD the constraint
cheers
May 15, 2008 at 2:16 am
Obiviously CASE statments in WHERE clause will improve performance issues. i think you can use temp table to extract records for the CASE conditional records and finally JOIN THE TABLES...
May 15, 2008 at 2:13 am
GilaMonster (5/13/2008)
IF EXISTS (SELECT 1 from master.dbo.sysobjects where name = 'Table1' and xtype = 'U')BEGIN
-- do something here.
END
Hi Gila,
I don't understand, Are you spend all of your day in...
May 15, 2008 at 2:00 am
Hi Premnath
i think you no need to enable and disable the indentity . and not need to call any function for auto numbering . please see the following code, i...
May 15, 2008 at 1:54 am
Hi Premnath
i think you no need to enable and disable the indentity . and not need to call any function for auto numbering . please see the following code, i...
May 15, 2008 at 1:49 am
jonp (5/5/2008)
I'm running SQL Server 2000 and PHP.
I believe the problem I have is SQL Server based and not the PHP, but I have no idea where to look.
If I...
May 9, 2008 at 3:31 am
Torsten Schüßler (5/9/2008)
did you mean something like this:
EXEC sp_MSforeachdb @command1="print '?' DBCC CHECKDB ('?')"
sp_MSforeachdb is an undocumented stored proc., will put each database and accomplish DBCC CHECKDB for each...
May 9, 2008 at 3:10 am
Viewing 15 posts - 1 through 15 (of 89 total)