Viewing 15 posts - 1,591 through 1,605 (of 13,459 total)
just like xp_cmdshell, the service account that SQL is using is the credentials used for accessing objects outside of SQL server.
if your process was accessing local folders , special folders...
Lowell
August 10, 2015 at 5:43 am
Jason i know i inherited a ton of servers, where noone was still around to add users as sys admin, or there was no admin at all.
I've got several scripts(powershell,...
Lowell
August 7, 2015 at 1:34 pm
i took this post as an attempt to use a third party security audit solution that either has limited scope, or you might have limited experience with it.
it's...
Lowell
August 7, 2015 at 1:26 pm
Sean Lange (8/7/2015)
Lowell
August 7, 2015 at 12:38 pm
just for reference, this is how i tried to solve it;
i parsed everything with DelimitedSplit8K, and then just fiddled with columns that were larger than the target length.
my sample...
Lowell
August 7, 2015 at 12:03 pm
ahh, better than what i was trying next, Luis!
i started splitting the all data on CHAR(10), and then splitting whatever had a length that was over @MaxLength ;
i like...
Lowell
August 7, 2015 at 10:07 am
when modified to your example, that's exactly what it does:
/*--results:
TheObjectNameLineNumberLine
Some Comments1ENSURE THE PRODUCT CODE AND BATCH INFORMATION ON
Some Comments2ROUTE CARD IS CORRECT AGAINST THE PICK SHEET &
Some Comments3LABEL
*/
--http://www.sqlservercentral.com/Forums/Topic677895-338-1.aspx
DECLARE @MaxLength int...
Lowell
August 7, 2015 at 9:26 am
Sean pinged me on this one, and i've posted versions of it elsewhere, but i have code saved from other members posts, so let me point you to them.
Lowell (11/13/2013)
Lowell
August 7, 2015 at 8:43 am
if Dts.Variables["User::V_FileExistsFlg"].Value is a boolean, you should assign true or false, and not 1, right?
Also,if you append strings like that together, you have to be absolutely sure of ending slashes,...
Lowell
August 7, 2015 at 7:41 am
Luis Cazares (8/5/2015)
That's not fair. Where were you a couple of months ago? 😛
damnit i was looking for you!
based on some of your comments, i suspected you might be local,...
Lowell
August 5, 2015 at 11:38 am
well, i don't consider TFS to be highly volatile, the developers might have what, a hundred or so check-ins a day?
so this is my default setup for backups:
ALL TFS...
Lowell
August 5, 2015 at 11:30 am
i can tell you how my TFS is setup, and I've had no problems. use that to help make a more informed decision.
my TFS is on a single virtual server...
Lowell
August 5, 2015 at 9:41 am
Jo i use a script task to pull that out for other script tasks to consume all the time..
here's a full script task example, but the piece you need is...
Lowell
August 4, 2015 at 11:35 am
;WITH MyCTE([Bf_ORGN_CD],[LEV5],[BF_ACTY_CD])
AS
(
SELECT 'AC_21234_2','AC_21200_1','402' UNION ALL
SELECT 'AC_21236_2','AC_21200_1','402' UNION ALL
SELECT 'AC_21238_2','AC_21200_1','402' UNION ALL
SELECT 'AC_29000_1','AC_29000_1','802' UNION ALL
SELECT 'AC_29988_1','AC_29988_1','801' UNION ALL
SELECT 'AC_40040_1','AC_40040_1','201' UNION ALL
SELECT 'AC_41061_1','CA_41061_1','207' UNION ALL
SELECT 'AC_41080_1','AC_41080_1','207' UNION ALL
SELECT 'AC_41196_1','AC_41196_1','207' UNION ALL
SELECT 'AC_42404_1','AC_42404_1','801'...
Lowell
August 4, 2015 at 11:20 am
the convert function has an optional parameter when you are converting dates;
112 will give you the eight digit format you are looking for:
SELECT CONVERT(VARCHAR,getdate(),112) --20150803
SELECT Sub_date = CONVERT(VARCHAR,annual_date,112)
Lowell
August 3, 2015 at 3:27 pm
Viewing 15 posts - 1,591 through 1,605 (of 13,459 total)