Viewing 15 posts - 1,141 through 1,155 (of 13,465 total)
best practice is still to use a local drive.
that's the only drives you can consitently depend on exisitng, right?
After creating the backup, you would want to compress the file...
April 6, 2016 at 2:31 pm
for xml won't let you inject closing html tags any place you want, but what you want to do is make it do the 99% of the work, and then...
April 6, 2016 at 5:29 am
not sure why you might limit yourself to 150 chars; database mail, outlook, email clients do not have a limitation like that.
i'm just selecting emails via FOR XML to make...
April 5, 2016 at 3:02 pm
you've got quite a few things going that are causing malformed html; IE will do it's best to clean that up, but Outlook does not.
i populated your table and reviewed...
April 5, 2016 at 6:20 am
is your data double quoted, meaning the value featuring the comma is properly delimited so you can process it?
1,Academy award winners,"Jones, James Earl",moredata
if it's not, you need to go...
April 4, 2016 at 2:57 pm
if we are talking about checking if an object is no longer valid because columns or tables were renamed , dropped, etc,
i've got this script i posted here on SSC...
April 4, 2016 at 2:10 pm
i've seen the same on my side, with the default of one retry; an email with to: 'goodemail@somedomain.com;bademaul@somedomain.com' results in goodemail getting two emails.
first thing to do is review who...
April 4, 2016 at 2:05 pm
i would think youll start with a case expression, and then order by the tagname anyway as the second condition;
how do you get the value "tagor1", for example? uis that...
April 4, 2016 at 1:26 pm
i leave xp_cmdshell disabled by default , and have processes enable it, perform bcp via xp_cmdshell, and then disable again.
you could perform bcp from a command line SQL job, and...
April 4, 2016 at 5:56 am
how about not using #temp, but creating the table in tempdb instead? then it will still exist.
DECLARE @cmd nvarchar(4000) = '
SELECT schema_name(schema_id) As Schemaname,
object_id,
Name as TableName
INTO tempdb.dbo.StagingTable
from msdb.sys.tables...
April 1, 2016 at 11:21 am
SQL!$@w$0ME (4/1/2016)
Thanks Lowell. Can you please provide the code for 'CLR_ExportQueryToCSV'.
below is an updated version of it, i posted the original version of it on http://sqlclrexport.codeplex.com/ years ago.
April 1, 2016 at 11:09 am
you posted in "working with oracle", so i thought you were using oracle.
if this is SQL server, then you would just stick with dateformats that are universally converted;
you said you...
April 1, 2016 at 9:21 am
Ray Herring (4/1/2016)
andre.quitta (3/31/2016)
[font="Courier New"]Import-Module : The specified module 'ActiveDirectory' was not loaded because no valid module...
April 1, 2016 at 8:46 am
pretty sure you have to use oracles TO_DATE function, especially because you are passing a string,and also using UK date formats.
WHERE DateCreated BETWEEN
TO_DATE('01/01/2016 00:00:00','dd/mm/yyyy hh:mi:ss')
AND TO_DATE('31/01/2016 00:00:00','dd/mm/yyyy hh:mi:ss')
the problem...
April 1, 2016 at 8:35 am
you'll need to have a separate process save each query to disk on the server, and then the email will not have a query, only attachments.
i currently use a CLR,...
April 1, 2016 at 8:27 am
Viewing 15 posts - 1,141 through 1,155 (of 13,465 total)