Viewing 15 posts - 1 through 15 (of 16 total)
I Goggled about "sp_getapplock"
This approach has some downsides
1) Other users can’t SELECT from the table.
2) If you rebuild indexes on the table with the “online=on” option, it...
April 18, 2014 at 7:03 am
Thanks Tom and Gila for your valuable suggestions 🙂
February 18, 2014 at 10:40 pm
Then what's good approach to do resolve this issue in sql server 2005?
suggestion pls.
February 18, 2014 at 7:03 am
As per your opinion which approach should be use to resolve this issue ?
That will be not create problems in future.
February 18, 2014 at 5:57 am
Can you tell as above option effect on SOL performance ?
February 18, 2014 at 5:20 am
Below script will work in this case or not
CREATE TABLE TEST_UQ (COL1 INT IDENTITY(1,1) PRIMARY KEY, COL2 VARCHAR(10) NULL,COL3 AS (CASE WHEN COL2 IS NULL THEN CAST(COL1 AS VARCHAR(10)) ELSE...
February 18, 2014 at 4:56 am
Can you mention a example or a dummy script which create a indexed computed column?
February 18, 2014 at 4:40 am
Can you explain it as in sql form as below
CREATE TABLE dbo.Example
(
col1 varchar(100) NULL,
);
GO
CREATE VIEW dbo.ExampleUnique
WITH SCHEMABINDING AS
SELECT e.col1
FROM dbo.Example AS e
WHERE e.col1 IS NOT NULL;
GO
CREATE UNIQUE CLUSTERED INDEX cuq
ON...
February 18, 2014 at 4:31 am
Can you please share other approach to do this easiest way in sql server 2005?
February 18, 2014 at 4:22 am
Your suggestion works for me
Thanks Tom
February 18, 2014 at 3:36 am
Previous section is works fine when 'col1 int NULL'
February 17, 2014 at 10:04 pm
I am creating CLUSTERED INDEX by running below query on sql server 2005
CREATE TABLE dbo.Example
(
col1 varchar(Max) NULL,
);
GO
CREATE VIEW dbo.ExampleUnique
WITH SCHEMABINDING AS
SELECT e.col1
FROM...
February 17, 2014 at 9:51 pm
Can i apply this approach for column which is varchar type?
February 17, 2014 at 7:03 am
How can i do it with sql server 2005
February 17, 2014 at 6:51 am
Yes i need this thanks for your help
February 17, 2014 at 6:48 am
Viewing 15 posts - 1 through 15 (of 16 total)