Viewing 15 posts - 3,826 through 3,840 (of 5,109 total)
Brandie did an article which included searching the dtsx files not too long ago using PoSh: http://www.sqlservercentral.com/articles/database+dependencies/153072/?utm_source=SSC&utm_medium=pubemail
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 26, 2017 at 6:12 am
What is your question exactly?
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 26, 2017 at 4:50 am
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 26, 2017 at 4:11 am
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 26, 2017 at 4:04 am
Selecting data from a table without an ORDER By clause will never guarantee the order the data returns in. if you add a TOP into the mix, the data you...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 26, 2017 at 3:47 am
If you want to keep a point in time back up, then doing Full and transaction log back ups is probably going to be your best choice. Doing a full...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 26, 2017 at 3:21 am
Also, that query you have at the start is... well, honestly, awful :). I doubt you really need to actually do what I've done above and could easily achieve this...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 26, 2017 at 3:07 am
How about this:--Create Sample Table
CREATE TABLE #Sample
(Patent varchar(3),
Novelty int,
Landscape int,
Clearance int,
Searching int);
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 26, 2017 at 2:15 am
That would suggest you aren't a sysadmin, if you're getting write permissions. What does the below return:SELECT sysadmin
FROM master.sys.syslogins
where name = SYSTEM_USER;
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 25, 2017 at 9:45 am
A CTE and ROW_NUMBER should do the trick for you:CREATE TABLE #SAMPLE
(Cust BIGINT,
[Date] date,
[Status] varchar(150),
Category varchar(50));
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 25, 2017 at 9:19 am
The correct SQL for something like this would be:--Start at master, as we will creating a LOGIN
USE master;
GO
--Create the LOGIN first
CREATE LOGIN SSCSample
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 25, 2017 at 9:03 am
As Steve said, the problem here is that you may have to "guess" where to split the name. The reason being, is that the last "word" of the name might...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 25, 2017 at 8:10 am
Have you installed the latest version of the ACE drivers? You can find them here: https://www.microsoft.com/en-gb/download/details.aspx?id=13255
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 24, 2017 at 12:21 pm
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 24, 2017 at 12:14 pm
Downloaded the file, remotely, on my home Raspberry Pi (the expendable one), and the zip file does include 3 xlsx file and a txt file (which contains SQL), so it...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 24, 2017 at 9:50 am
Viewing 15 posts - 3,826 through 3,840 (of 5,109 total)