Viewing 15 posts - 8,311 through 8,325 (of 8,753 total)
This is the simplest way
😎
[User]-|---0<[UserRole]>0---|-[Role]
May 8, 2014 at 5:26 pm
Thomas Abraham (5/8/2014)
Mark Grout (5/8/2014)
I got confused by "suppotys"
If you look at a QWERTY keyboard, you'll see this is a splendid example of the well known "off by one" error....
May 8, 2014 at 9:12 am
Favourites are 21-24-21 and 24-24, basically monitor count > 1 will do though.
😎
May 8, 2014 at 8:40 am
To get you started
😎
Sample data
USE tempdb;
GO
IF EXISTS (SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = N'TBL_STOREDPROC_001' AND TABLE_SCHEMA = N'dbo')
DROP TABLE dbo.TBL_STOREDPROC_001;
IF EXISTS (SELECT * FROM INFORMATION_SCHEMA.TABLES...
May 8, 2014 at 5:05 am
danielfountain (5/8/2014)
I am using a cursor (i know - but this is actually something that is a procedural loop).
So effectively i have a table of names of stored procedures....
May 8, 2014 at 4:21 am
Thanks for the question, made me go have a look when I couldn't see the correct answer listed, hoping it might have changed:-D
😎
May 8, 2014 at 3:22 am
azmiman (5/8/2014)
Eirikur Eiriksson (5/8/2014)
1. Will you ever have to list more than one type in the same result set?
2. Will you be adding new types?
3....
May 8, 2014 at 2:27 am
First, few questions:
1. Will you ever have to list more than one type in the same result set?
2. Will you be adding new types?
3. Is there a...
May 8, 2014 at 1:10 am
vasugunda (5/7/2014)
i just want retrieve patient information from 1st discharge date to 6 months later date.
Do you mean: retrieve for each patient, identified by the patno, all records which have...
May 8, 2014 at 1:02 am
rhythmk (5/7/2014)
However if you match none of your resultset matches with OP's resultset 🙂
Neither does it match the information contained within the requirements.
😎
May 8, 2014 at 12:42 am
rhythmk (5/7/2014)
vasugunda (5/7/2014)
Hi everyone..i just want retrieve patient information from 1st discharge date to 6 months later date .
Can you please elaborate with more clarity as I am confused with...
May 7, 2014 at 11:41 pm
Something along these lines could do
😎
DECLARE @PATIENT TABLE
(
patnt_no INT NOT NULL
,patnt_refno INT...
May 7, 2014 at 10:10 pm
When you run it in BIDS, it is compiled before the execution, which is the step missing. I'll look into this when I can and will let you know.
😎
May 7, 2014 at 3:14 pm
If I remember correctly, you'll have an upgrade grace period, you could install a new instance on the/a box, run the two in parallel for that period while migrating the...
May 7, 2014 at 2:51 pm
I normally prefer to script the creation of all constraints and use something like this procedure to drop them when needed
😎
CREATE PROCEDURE [dbo].[DROP_SCHEMA_CONSTRAINTS]
(
@TABLE_SCHEMANVARCHAR(128)
)
AS
/*
DECLARE @TABLE_SCHEMANVARCHAR(128) = N'myschema'
EXEC dbo.DROP_SCHEMA_CONSTRAINTS @TABLE_SCHEMA
*/
DECLARE @SQL_STRNVARCHAR(MAX) =...
May 7, 2014 at 2:44 pm
Viewing 15 posts - 8,311 through 8,325 (of 8,753 total)