Viewing 15 posts - 4,531 through 4,545 (of 13,469 total)
OTF (10/23/2012)
This problem could probably be more "cleanly" solved with a CLR object.Happy to help you knock one up if you'd like to go that route.
That would be a valuable...
October 23, 2012 at 9:10 am
jim if you print the variable results, you'll see there's a quote in the wrong place.
"C:\Documents and Settings\jamesshaffer\My Documents\7-Zip\7za.exe" a "F:\mtv\secure\Construction\Access\All Database Backup\2012-Oct_Backup\"12-10-23.zip F:\mtv\secure\Construction\Access\CPAS
i've corrected your vbs code below to...
October 23, 2012 at 6:04 am
here's one way i've seen here on the forums to obfuscate a script that is to be deployed:
-- obfuscate a command to send to the client:
Declare @cmds Nvarchar(MAX)
Declare @obfoo varbinary(MAX)
--build...
October 23, 2012 at 5:51 am
forme, a CTE that pulls out the charindexes makes it easier for me to understand.
With tblDoc([FROM])
AS
(
SELECT 'John Doe1 <John.Doe1@abcd.com>' UNION ALL
SELECT 'John Doe2 <John.Doe2@abcd.com>' UNION ALL
SELECT 'John Doe3 <John.Doe3@abcd.com>' UNION...
October 22, 2012 at 1:06 pm
leefuji (10/22/2012)
Hi,What is the command for BCC and CC , I tried MailCC or MailBCC and it didn't work.
Thanks
http://webdesign.about.com/od/beginningtutorials/a/aa041700b.htm
code example:
<a href="mailto:firstEmail@email.com, SecondEmail@email.com?bcc=TheBlidRecipient@email.com& cc=thirdaddress@email.com&subject=heres%20The%20Info%20You%20Asked%20For"> Click me!</a>
October 22, 2012 at 12:08 pm
tipping my hat to Sean, we travel in the same circles so often!
Thanks for the honorable mention, my friend!
October 22, 2012 at 12:03 pm
kapil_kk (10/22/2012)
how can we restricted a view to a particular user only?
you can do that either by checking the suser_name(), or comparing it agasint a table of permissions you create.
a...
October 22, 2012 at 11:13 am
Jim the single set of double quotes is an xp_cmdshell thing;there's only the classic extra-step work arounds.
the work around is to either use a variable, or create it in a...
October 22, 2012 at 11:06 am
jasona.work (10/22/2012)
Using your Delete commands, plus adding one to delete from dbo.sysmail_mailitems, the DB is down to about 23GB from 133GB!
Set up an Agent job to run...
October 22, 2012 at 9:54 am
the http://www.ssmstoolspack.com/ is free and very popular among some of the psoters here.
it has a built in CRUD generator, so you can right click on a given table and it...
October 22, 2012 at 9:03 am
i've played with Microsoft.SqlServer.Management.Smo.Scripter that is part of the microsoft.sqlserver.managment.sdk.sfc ;
using that, you can tokenize any SQL statement.
i did it when i was playing with making my own SQL reformatter/prettifier,...
October 22, 2012 at 8:27 am
matt.gyton (10/22/2012)
These are just standard SQL Agent Jobs being run on a schedule, so I'm assuming I could just change the default language setting for the login they are...
October 22, 2012 at 7:09 am
sanjay.dakolia (10/22/2012)
this value was suppose to be datetime but by mistake the column datatype was given integer so now i want to convert it back to datetime
um, i don't think...
October 22, 2012 at 6:30 am
sanjay.dakolia (10/22/2012)
i am using the following query :
select cast (1157068800 as datetime)
but i am getting this error :
Msg 8115,...
October 22, 2012 at 6:21 am
you mean like resolving %appdata% or %path% from a command line or something like that?
yes, assuming you've enabled xp_cmdshell;
create table #Results (
ID int identity(1,1) NOT NULL,
TheOutput varchar(1000))
insert into #Results (TheOutput)
exec...
October 22, 2012 at 6:17 am
Viewing 15 posts - 4,531 through 4,545 (of 13,469 total)