Viewing 15 posts - 31 through 45 (of 135 total)
randmatt (11/7/2013)
WITH DirectReports AS
(
SELECT
e.ManagerID
,e.EmployeeID
,e.Title
,0 AS LEVEL
,cast(e.ManagerID AS varchar(MAX)) AS [path]
FROM dbo.MyEmployees AS e
WHERE ManagerID IS NULL
UNION ALL
SELECT
e.ManagerID
,e.EmployeeID
,e.Title
,LEVEL + 1...
November 7, 2013 at 9:54 pm
randal.matthew (11/7/2013)
WITH DirectReports AS
(
SELECT
e.ManagerID
,e.EmployeeID
,e.Title
,0 AS LEVEL...
November 7, 2013 at 8:18 am
John Mitchell-245523 (10/18/2013)
OK, then it's nothing to do with permissions. You won't be able to see the procedure definition unless you have the source code.John
thanks for the clarification.
Is is...
October 18, 2013 at 3:08 am
John Mitchell-245523 (10/18/2013)
What message do you get if you run
EXEC sp_helptext 'ProcName'
?John
this is the message i'm getting The text for object 'procname' is encrypted.
October 18, 2013 at 2:58 am
We are handling this from frontend ..if any error comes we rollback and divide the number of rows and insert it...so this process will go on until all the...
September 3, 2013 at 6:01 am
Erland Sommarskog (9/2/2013)
September 2, 2013 at 9:28 pm
finally got it ..its a silly mistake...i am always trying to run the application by right clicking Run as Administrator..i tried directly and it takes mixed mode authentication
July 4, 2013 at 5:08 am
Hi simon, i tried both solution...still it is not working.
July 3, 2013 at 5:39 am
s_osborne2 (7/2/2013)
Are you saying that you can't log in with the SA password you set?
yes..sa user is disabled and when i check the authentication mode it is WINDOWS
July 2, 2013 at 7:35 am
Great article, looking forward to the next article
June 26, 2013 at 5:34 am
GilaMonster (3/25/2013)
http://sqlinthewild.co.za/index.php/2009/03/19/catch-all-queries/You'll need dynamic SQL on this one.
Thanks gail for the reply..let me go through the article
I am planning to pass the condition as a table value parameter, each row...
March 25, 2013 at 11:34 pm
Thanks a lot eugene..this is what i actually want
March 11, 2013 at 5:30 am
dwain.c (3/11/2013)
Group unit
1 ...
March 11, 2013 at 3:53 am
thanks chris for the reply
can you tell me the use of SELECT TOP 1 n=1 ....i never use this
January 23, 2013 at 6:57 am
CREATE TABLE #Test
(
ProductID int,
MainMasterFeatureID int,
--MasterFeatureValue Varchar(100),
ChilFeatureName varchar(100),
ParentFeatureName varchar(100)
)
--Inserting Sample Data
INSERT INTO #Test
SELECT 40,1,'Pack','Type'
UNION ALL
SELECT 40,0,'Laminate','Technology'
UNION ALL
SELECT 40,11,'Yes','Coated'
UNION ALL
SELECT 52,1,'Roll','Type'
UNION ALL
SELECT 52,11,'NO','Coated'
CREATE TABLE #tProduct
(
...
January 14, 2013 at 11:33 pm
Viewing 15 posts - 31 through 45 (of 135 total)