Forum Replies Created

Viewing 15 posts - 721 through 735 (of 13,460 total)

  • RE: SQL Data Folder access and permissions

    what you are looking for is the logon account being used under services:

    (Control Panel >>Administrative Tools>>Services)

    here's a screenshot with four different SQL instances, and you can see three different accounts...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: sa password is lost - need to add Sys Admin Privileges to another account

    Jeff Moden (12/30/2016)


    I'm going to have to show my security folks this one. Heh... and everyone says using xp_CmdShell is dangerous. 😛

    not all that dangerous, I think, since it's...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: script to find if SSRS / SSIS service is installed

    tan110 (12/30/2016)


    Would it be possible to do this at the database instance level?

    so, are you inventorying servers/instances, or databases? for me, that's two different things/levels of documentation.

    or are we on...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: script to find if SSRS / SSIS service is installed

    tan110 (12/30/2016)


    Thank you, much appreciated! Exactly what i was looking for.

    you might run into some permissions issues, you might need a domain admin level permission;

    i can query servers i...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: script to find if SSRS / SSIS service is installed

    with powershell, you can check the services that exist on multiple machines, as long as they are on the LAN/you can connect.

    You don't want to handcuff yourself into a...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: sa password is lost - need to add Sys Admin Privileges to another account

    you can do the same thing effectively with a dedicated admin connection from the server,

    again only if you are a local admin user on the server, and also only if...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: SQL syntax HELP

    i was wondering if you could do the same as a set based operation, without the loop

    does this produce your expected results?

    SELECT

    SUM(CASE WHEN (ISNULL(otherprocedurecode1,'') <> '' AND ISNULL(otherprocedurecode1date,'') = ''...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: sa password is lost - need to add Sys Admin Privileges to another account

    if you are a local admin on the server, there is a technique using powershell to impersonate the service account running SQL, and add logins, and then add that login...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Fail Package based on variable

    MessageBox can only display strings, and RecordCount is an integer,so simply convert the value you want to display.

    MessageBox.Show(RecordCount.ToString)

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Fail Package based on variable

    Public Sub Main()

    '

    ' Add your code here

    ...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: IF EQUALS Query in Report Builder

    bzoom100 (12/28/2016)


    I am using Microsoft SQL Server Report Builder 3.0.

    I have a table called "tblDataPermit"

    My DataSet1 includes the column "Type"

    The Type column has numeric values 1-54.

    In my report if...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Ignore reading signs

    not efficiently, because you would have to manipulate each column value.

    what are we doing? stripping out just two specific values? stripping all non numeric characters? what about alpha characters?

    with a...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Filtered Index, Getting 'Created failed for Index"

    no functions are allowed in a filtered index definition, so the ISNULL is not compliant with teh syntax.

    also, OR statements are not valid either; the filter has to be...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Database Mail Not Sending Outside the Company

    I'm with Sue;

    either an invalid email is being used(ie someone@gmailcom, missing the period) or a null a missing semicolon between multipel addresses, or something for one of your new report...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: SSIS Script Task if Variable RecordCount >0 Fail Package

    Welsh Corgi (12/23/2016)


    Lowell (12/23/2016)


    Welsh Corgi (12/23/2016)


    Lowell (12/21/2016)


    Dts.Events.FireError is what you want.

    is your account used by a team of users, and not an individual?

    Trivially adapted from part of an answer ...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

Viewing 15 posts - 721 through 735 (of 13,460 total)