Forum Replies Created

Viewing 15 posts - 781 through 795 (of 13,460 total)

  • RE: Error with parameters in OLEDB Source "execute with results"

    komal145 (12/8/2016)


    hi All,

    I have a package , where i get the results from a storedprocedure and send it to a file.

    meaning OLED source ( sql command) ---> Flatfile.

    Pacakge runs...

    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: DBA without sa rights???

    wow, I've heard of petty turf wars like this happening.

    You've got to bring it all out in the open, with your DCD and all related supervisors; this is not the...

    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: recursive query to find out orphans

    CELKO (12/6/2016)


    Correct minor typos:

    CREATE TABLE Forest

    (node_name VARCHAR(20) NOT NULL PRIMARY KEY,

    lft INTEGER NOT NULL CHECK (lft > 0),

    rgt INTEGER NOT NULL CHECK (rgt > 1),

    CHECK(lft < rgt));

    INSERT INTO Forest

    VALUES

    ('Root',1,8),

    ('first child...

    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: Issue using sp_send_dbmail for CSV export

    there is another parameter, @query_result_width, which i think is a default of 80 or 100, and anything wider wraps, which is what you are seeing

    set it to a large number,...

    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: Problem configuring Database Mail

    just read and work through your errors; you seem to be changing stuff pretty quick to try and get it to work.

    your latest error is just because you checked the...

    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: Problem configuring Database Mail

    the error message you pasted was

    The server response was: 4.3.2 Service not available,

    which would be an SMTP service exists, but is not available.

    so the issue is not database mail, but...

    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: Automate stored credentials updates

    the obvious fix is to set up a specific account for the SSRS account that does not password expire.

    on my SSRS instances, all reports use shared data sources, so...

    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: SchemaName.ObjectName

    yes it could potentially cause problems. best practice would be to go ahead and schema-qualify all the scripts provided to avoid any issues.

    The scenario i would worry about is 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: How to compare text in sql server

    so I'm assuming you want a soft fix to the issue, where you are detecting and maybe truncating in the trigger to make it no more than 200 characters, even...

    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: 16 core and sql server enterprise license cost

    nal4236 (12/3/2016)


    Sounds like we're basically saying the same thing, we're just getting caught up in terminology. You cannot buy a single SQL Enterprise license that covers one single CPU core....

    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: Login triggers - some general questions...

    does that trigger actually work for a non-sysadmin?

    looks like you are just logging offenders, and not denying their connection.

    any login would need insert permissions on insert master.dbo.CheckLogins , is that...

    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: Check if File exist - Script Task

    put your code in a try catch, and explicitly bubble up any errors that might occur;

    you'll get a better error description than you are currently receiving:

    public void Main()

    {

    [highlight="#ffff11"]try

    ...

    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: Check if File exist - Script Task

    Appending strings together to make a filename is tricky; if you are not careful/consistent with ending slashes, you'll get invalid paths.

    i would suggest using Path.combine to handle that issue...

    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: Passing temp table from one stored procedure to another

    If a Procedure calls another procedure INSIDE it's code, any #temp tables are available to it that exist in the procedure;

    if the procedures are called consecutively, then the temp...

    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: 16 core and sql server enterprise license cost

    a quick google shows me enterprise licenses for SQL2016 are $7,128 per core, so MSRP would be select 7128.00 * 16 = $114,048.00

    At the PASS conference Glenn Berry noted...

    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 - 781 through 795 (of 13,460 total)