Viewing 15 posts - 7,216 through 7,230 (of 13,876 total)
Jeff Moden (4/19/2016)
Ken McKelvey (4/19/2016)
April 19, 2016 at 10:01 am
DSNOSPAM (4/19/2016)
I'm trying to load the Adventureworks 2008 RS info I downloaded from Codeplex, but...
April 19, 2016 at 10:00 am
astrid 69000 (4/19/2016)
I have attached an excel with a sample of the data.
I don't know what you mean by converting to varchar, inside of each nod there are different values....
April 19, 2016 at 8:26 am
nuno.fbo (4/19/2016)
Thanks for your feedback.
I think I only can use Object_Name() in a Select statement right?
Here in my example I need to use in FROM and WHERE statements
SELECT OSUSR_CYW_TED_EVENTS.[AMOUNT],
(select...
April 19, 2016 at 7:48 am
dave.jones 96182 (4/19/2016)
;WITH CTE AS
(
SELECTID, Col1, Col2
FROMMyTable
WHERE...
)
SELECTCol1,
Col2
FROMCTE AS C
JOIN MyTable AS T
ON T.ID = C.ID
SELECTCol1
, Col2
FROM(
SELECTID, Col1, Col2...
April 19, 2016 at 6:50 am
Given an Object_Id, you can use Object_Name() to get the object's name.
To get the schema related to the Object_Id, use Object_Schema_Name().
April 19, 2016 at 6:43 am
richardmgreen1 (4/19/2016)
Thanks for that Jeff.I'll have a chat with the SAN admins and see where our drives are sat.
While that will provide useful background info, this situation is crying out...
April 19, 2016 at 5:00 am
pvong (4/18/2016)
In both the derived col and conversion, I can not change the value in the Precision box. For the...
April 18, 2016 at 2:13 pm
Have you tried putting a number in the Precision column to represent the maximum, err, precision of the incoming data?
April 18, 2016 at 1:37 pm
How about something like this?
Create table #TestTable (EmailID Int, EmailAddress Varchar (100))
Insert #TestTable Values (101, 'Donald@Trump.com'), (102, 'Ted@Cruz.com'), (103, 'Hillary@Clinton.com'),
(104, 'Bernie@Sanders.com'), (105, 'Donald@Trump.com'), (106, 'Hillary@Clinton.com'),
(107, 'Donald@Trump.com');
WITH Ordered AS (SELECT...
April 18, 2016 at 1:31 pm
Eirikur Eiriksson (4/18/2016)
Phil Parkin (4/18/2016)
Eirikur Eiriksson (4/18/2016)
April 18, 2016 at 10:55 am
Eirikur Eiriksson (4/18/2016)
April 18, 2016 at 10:22 am
sulman.sqldba (4/18/2016)
EXEC XP_CMDSHELL 'net use /delete *'Need to find out how to feed a "Y" answer into the execution of this command.
Trying to delete this post!
Add a /y...
April 18, 2016 at 10:03 am
But beware: No multi-record changes! (and that limits the scope of colleagues I can delegate to rather much...!)Hehe
Why not? Properly written triggers can handle multi-row changes with no problem.
April 18, 2016 at 8:05 am
That sounds annoying.
Have you tried sfc and doing a repair install on your VS installation?
April 18, 2016 at 6:19 am
Viewing 15 posts - 7,216 through 7,230 (of 13,876 total)