Viewing 15 posts - 3,211 through 3,225 (of 8,753 total)
SQL-DBA-01 (9/13/2016)
So you are suggesting to extract all the login accounts in the SQL Instance and there if the name matches or present can shed that off?
That is normally the...
September 13, 2016 at 3:39 pm
Slightly different syntax but same results (and identical execution plan)
😎
SELECT
E.id
,X.STATE
,X.VAL
FROM #Example E
CROSS APPLY
(
SELECT...
September 13, 2016 at 3:32 pm
SQL-DBA-01 (9/13/2016)
If I need to find out an user account present anywehere in the SQL instances (say, login, jobs, repl agents, db owners, AlwaysOn groups), how to find and...
September 13, 2016 at 3:21 pm
Further on Jeff's fine answer, here is an alternative which should work if you cannot store the numbers generated, I have used this method to generate 10^10 rows without any...
September 13, 2016 at 1:34 pm
latitiacasta (9/13/2016)
Thanks Eirikur Eiriksson, i will try from my side first if i stuck anywhere will raise it 🙂
You are very welcome.
😎
If you have any problems just post it on...
September 13, 2016 at 3:30 am
Whether you use a 3rd party tool or not the challenge is the same, the columns must be manually mapped to elements within the XML as the element names differ...
September 13, 2016 at 2:26 am
Quick thought, alias the table in the select
😎
BEGIN
--INSERT row OF CURRENT emp
INSERT INTO [dbo].[EMP]
([empid] ,[fname] ,[lname] ,[dept] ,[active] ,[ext] ,[date_effective])
SELECT
EE.empid
...
September 12, 2016 at 10:27 am
Quick thought, if you execute a script like you posted then it will run sequentially. To execute in parallel then simply have one task for each statement on the same...
September 12, 2016 at 10:16 am
Quick question, any scalar or multi statement table valued functions in the 3rd party code?
😎
September 12, 2016 at 10:12 am
Here is a quick suggestion for a query to create the desired XML output
😎
USE TEEST;
GO
SET NOCOUNT ON;
IF OBJECT_ID(N'dbo.SSIS_TblImageViewerXML') IS NOT NULL DROP TABLE dbo.SSIS_TblImageViewerXML;
CREATE TABLE [dbo].[SSIS_TblImageViewerXML]
(
[StackNumber]...
September 11, 2016 at 4:53 am
Here is my ailing old work station
😎
OS Name Microsoft Windows 10 Enterprise
Version ...
September 10, 2016 at 9:15 am
J Livingston SQL (9/10/2016)
6th Generation Intel(R) Core(TM) i7-6700 / 16GB DDR4 /2TB 7200 rpm Hard Drive + 32GB M.2 SSD Cache
Microsoft SQL Server 2016 Developer Edition (64-bit) on Windows...
September 10, 2016 at 6:12 am
WayneS (9/9/2016)
J Livingston SQL (9/9/2016)
off the shelf tower.....
6th Generation Intel(R) Core(TM) i7-6700 Processor (8M Cache, up to 4.0 GHz)
16GB (2x8GB) 2133MHz DDR4 Non-ECC 1 SR
2TB...
September 9, 2016 at 11:53 pm
Alan.B (9/9/2016)
CREATE TABLE dbo.MyTable
(
SocialAdvertisingDimAdKey int IDENTITY(1,1) NOT NULL,
...
September 9, 2016 at 9:45 pm
Thanks for this, now the only thing missing is the exact format of the XML, can you please post an example?
😎
September 8, 2016 at 3:32 am
Viewing 15 posts - 3,211 through 3,225 (of 8,753 total)