Viewing 15 posts - 3,826 through 3,840 (of 5,111 total)
Personally I think you'd be better off using a LEFT JOIN rather than right. It just reads that much better:SELECT *
FROM months m
...
April 26, 2017 at 6:42 am
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
April 26, 2017 at 6:12 am
April 26, 2017 at 4:11 am
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...
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...
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...
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);
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;
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));
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
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...
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
April 24, 2017 at 12:21 pm
April 24, 2017 at 12:14 pm
Viewing 15 posts - 3,826 through 3,840 (of 5,111 total)