Viewing 15 posts - 76 through 90 (of 98 total)
Hi pat,
Just try this one. It may work ....:w00t:
ALTER PROCEDURE sp_DeleteUsers
AS
BEGIN
DECLARE @Name varchar(256),@Cnt int
SET @Cnt = 1
SET @Name = (SELECT Count(name) FROM sys.database_principals)
--WHERE type_desc like '%use%')
--AND name NOT...
February 14, 2008 at 11:52 pm
Hi pat,
This may help you to sort out the problem. I believe 😛
CREATE PROCEDURE Test
(
@SDate DateTime,
@EDate DateTime,
@status varchar(20)
)
AS
BEGIN
SELECT @SDate
SELECT @EDate
SELECT CAST(@Status AS varchar)
END
DECLARE @StartDate datetime, @EndDate...
February 7, 2008 at 12:37 am
January 28, 2008 at 2:13 am
Hi,
see the last 3 line. It will work. May be you have to delete one '.' :hehe:
SET @cmd = 'bcp ' + @dbname + '.' + @tablename + ' '...
January 28, 2008 at 1:57 am
Hi,
Instead of * Use ColumnName whatever you want.
SELECT t1.ColumnName1,t1.ColumnName2,t2.ColumnName1,t2.ColumnName2,...
FROM Table1 AS t1
INNER JOIN Table2 AS t2
ON t1.ColumnName = t2.ColumnName
---
January 27, 2008 at 10:00 pm
Hi,
Try this one.
SELECT DISTINCT g.loginid,g.LName,g.FName,g.office#
FROM gradstudents g
INNER JOIN ta t
ON g.loginid = t.loginid
WHERE classnumber NOT IN (SELECT DISTINCT classnumber FROM ta)
-----
January 24, 2008 at 9:52 pm
Hi,
Make sure of the following settings:
i. The Regional Settings on the Server are correct.
...
January 23, 2008 at 3:18 am
Hi Andras,
Yes. Thanks you very much for your quick reply. 😛
January 23, 2008 at 2:54 am
Hi Sandy,
Try out this ....
SELECT EXP(SUM(LOG(SID))) FROM #t
😛
January 17, 2008 at 12:48 am
Hi stricknyn,
First find if you create any schema for this.
or just execute the following.
GRANT ALTER ON SCHEMA::dbo TO RoleName...
January 10, 2008 at 10:38 pm
Thanks GilaMonster for your reply 😀
January 9, 2008 at 10:48 pm
Hi vyas,
Thanks a lot for your quick reply.
In my server...
January 8, 2008 at 9:40 pm
Hi Chrys204,
This is the temporary table (#d) and it is for current session only. that means for the current query window. moreover this is the local temporary table.
😉
January 8, 2008 at 9:32 pm
Hi,
Create this "dbo.icddistance" function sepatatly.
After that create one more procedure like:
ALTER PROCEDURE dbo.sp_CheckDistance
(
@X1 FLOAT,
@X2 FLOAT,
@X3 FLOAT,
@X4...
January 7, 2008 at 5:24 am
Viewing 15 posts - 76 through 90 (of 98 total)