Viewing 15 posts - 331 through 345 (of 5,394 total)
try this:
sqlcmd -S brdsqldev01 -d brframedevelopment -Q "SET NOCOUNT ON; SELECT name FROM sys.databases AS d WHERE CHARINDEX('Snapshot', name) > 0 AND create_date = (SELECT MAX(create_date) FROM sys.databases AS d...
July 24, 2015 at 8:16 am
Sorry, it's not possible. You have no control over the error message displayed at the client.
July 16, 2015 at 2:02 am
GilaMonster (7/13/2015)
Yes, yes, yes, yes!!!!!!!!Congratulations. You have complied with the requirements prescribed for your degree, and are cordially invited to the graduation ceremony
Huge congrats Gail!
July 13, 2015 at 3:42 am
If you're not returning columns from User_Activities, you can change the INNER JOIN to a WHERE EXISTS:
SELECT aBunchOfColumns
FROM User_Profile AS p
INNER JOIN aBunchOfTables
ON someCondition
WHERE EXISTS (
...
July 7, 2015 at 4:55 am
Memory is ridiculously cheap. Get more, you won't repent it.
However, if it's working reasonably well with 2005, it will probably work well with 2012 with the same amount of RAM.
July 7, 2015 at 4:49 am
You're absolutely correct about it.
Shrinking the log files generates massive file system fragmentation, which is hard to get rid of without downtime.
Shrinking is pointless: it will grow again, so let...
July 7, 2015 at 4:47 am
Have your sysadmins grant the permissions for you or let you RDP in the SQL Server box. Don't try to circumvent security with xp_cmdshell.
BTW, if the SQL Server service account...
July 6, 2015 at 9:25 am
SQLRNNR (7/6/2015)
spaghettidba (7/6/2015)
djj (7/6/2015)
July 6, 2015 at 8:31 am
djj (7/6/2015)
July 6, 2015 at 6:26 am
mssqlsrv (7/6/2015)
Check the default database for login in the login properties.Change it to master or tempdb.
This wouldn't solve the issue: there's an access to a database which is not needed...
July 6, 2015 at 6:21 am
This should do:
SET DATEFORMAT DMY
CREATE TABLE #sampleData(
callref int NOT NULL PRIMARY KEY
, date_time datetime NOT NULL
, evb_recipient_email VARCHAR(29)
);
INSERT INTO #sampleData(callref,date_time,evb_recipient_email) VALUES (498987,'11/06/2015 08:22:04.000',NULL);
INSERT INTO #sampleData(callref,date_time,evb_recipient_email) VALUES...
July 6, 2015 at 3:32 am
You could use a server-side trace or an extended events session to capture the login failed events (profiler could also work if this is not a production instance). Have you...
July 6, 2015 at 2:27 am
It would help a lot if you could provide the following:
1) Table definition
2) Sample Data
3) Expected output
4) What you have tried so far
See here for help and tools to post...
July 6, 2015 at 2:25 am
You data appears to have a fixed structure and the code you're looking for seems to be always between chars 4 and 9. If it's guaranteed to be like that,...
July 6, 2015 at 2:21 am
Viewing 15 posts - 331 through 345 (of 5,394 total)