Viewing 15 posts - 181 through 195 (of 241 total)
mister magoo has a good solution in this thread which I have used before.
http://www.sqlservercentral.com/Forums/Topic1724454-150-1.aspx
April 29, 2016 at 7:34 am
Gmail is port 587 or 465 try both.
So Email address should be your gmail address.
Server name should be smtp.gmail.com
Check the SSL check box
Under authentication click basic and then enter...
April 28, 2016 at 7:54 am
I was confused as well so tested it quickly - only Date and January are returned see attachment.
Also using the default settings nothing is returned. The frequency threshold needs to...
April 22, 2016 at 5:45 am
Is the user the Agent job is running under a member of the DatabaseMailUser role in the msdb database?
The user will be the job owner - or if the job...
April 21, 2016 at 1:46 pm
See below. This has hardcoded columns, if you want to make it dynamic have a look at the linked article.
https://www.mssqltips.com/sqlservertip/2783/script-to-create-dynamic-pivot-queries-in-sql-server/
SELECT *
FROM
(SELECT PatientStatus, Location, PatientVisits, YearMonth
FROM #TEST)...
April 11, 2016 at 6:58 am
Vijaya Kadiyala (6/27/2008)
You can use some tools to compare the tables/schemas/databases but how would you compare the data in those tables? If databases are really then !!..
But first of all...
April 1, 2016 at 5:47 am
In SQL. See links below for the permissions required and the syntax.
March 31, 2016 at 6:17 am
You can impersonate another user or login but you need to have been granted impersonate permissions on the user or login first.
EXECUTE AS USER = 'Domain\User'
EXECUTE AS LOGIN= ...
March 30, 2016 at 10:26 am
you can use the following view to see all the foreign keys in a database and the created/modified dates.
select * from sys.foreign_keys
These other views are useful for looking at...
March 29, 2016 at 9:56 am
If the data is being reported on then is it not more important to ensure it is correct? Can the data be consolidated during the load process which would reduce...
March 23, 2016 at 5:49 am
You could use a cte and Row_Number and insert all rows which have a row number less than 1,000,000.
WITH x AS (SELECT MyValue
...
March 22, 2016 at 8:39 am
If you have run checkdb manually and no issues then I think you'll be OK. checkdb uses an alternate ntfs filestream to create a "copy" of the database when running....
March 18, 2016 at 9:39 am
True, the poster mentioned special characters which I assumed to mean Unicode
March 17, 2016 at 3:36 pm
Looks like you lost some information when pasting the sql. You don't have any '' around the statement you are trying to assign to @QRY and looks as if there...
March 17, 2016 at 12:51 pm
Viewing 15 posts - 181 through 195 (of 241 total)