Viewing 15 posts - 1 through 15 (of 24 total)
Remove the comma which is just before Primary Key Keyword.
June 19, 2006 at 2:07 am
Hi Karthi,
set
datefirst 1
Select
getdate() - (datepart(
April 10, 2006 at 4:50 am
Hi,
You can declare a global variable, and can assign some values if the process succfully done. While restarting you can compare the value.
November 22, 2005 at 5:22 am
The following simple query might solve your problem,
Select Name
From sysObjects
Where xtype = 'U'
and ObjectProperty(id,'isIndexed') = 0
and ObjectProperty(id,'TableHasPrimaryKey') = 0
October 20, 2005 at 11:04 pm
If you need to use cursor, then go for static cursor, that will not open the table anyway. It uses tempdb for its process.
October 7, 2005 at 5:38 am
select convert(varchar(11),'27/09/2005 12:42:32 ',103)
Select convert(varchar(10),convert(datetime,'27/09/2005 12:42:32 ',103),108)
September 28, 2005 at 2:36 am
Hi,
I think so this is not possible, because of the user who created the procedure becomes the owner of the object. As SQL server says, by default the owner will...
August 2, 2005 at 10:14 pm
First you match the user login in both the servers.
June 30, 2005 at 3:13 am
CREATE FUNCTION udf_manufacturerName (@partNum varchar(50), @num INT)
RETURNS varchar(50) AS
BEGIN
DECLARE @manname varchar(50)
DECLARE names_cursor CURSOR static FOR
SELECT Manufacturer
FROM PartNumManufacturerNum
WHERE [Part Number] =...
June 21, 2005 at 10:38 pm
Thanks for your reply.
Yes we can use sysusers. But User_id() will return always 1 if the currently logged in user is dbo. Then the user name will be dbo,...
June 7, 2005 at 6:54 am
For some security reasons, i need to avoid the user who is the owner of the object once he created, that should not be dropped by any user in sql...
June 6, 2005 at 10:40 pm
Viewing 15 posts - 1 through 15 (of 24 total)