Forum Replies Created

Viewing 15 posts - 256 through 270 (of 13,460 total)

  • RE: Bulk copy from one server into another server.

    stick with the SSIS wizard and avoid a linked server.
     the SELECT INTO FROM linkedServer... will be a massive logging operation, and you might run out of disk space due...

    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: Can you add line breaks in stored text?

    yes, i store queries like that in a table, and execute them all the time.
    there are two simple ways, note i had to escape the single quotes within 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: carriage return in dynamic sql

    grid view always compresses the data to a visible sinlge row, and makes CrLf appear as spaces.
    what you want is to make sure a copy/paste from a grid still...

    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: split data in equal halves

    here is an example, splitting the list of all your tables in your current database, into five columns;

    i think you can adapt that to only have four columns,...

    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: What is the best way allow third-party access to a limited view of your database?

    the issues is object owner chaining.  cross schema or cross database queries break the object chaining inheritance, and require select permissions to teh underlying tables.
    you don't want that, you...

    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 can I add the server name to the subject line of a SSIS subscription email?

    if you have the enterprise version, Data Driven subscriptions are an option.
    with data driven subscription, you might have a view that has all the info on a per row...

    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: Is sp_send_dbmail Asynchronous?

    here's a  scripts i actually put into views ie (GoodMail and FailMail) by toggling the WHERE statement; very handy for at a glance status of emails.
    so i can review...

    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: RPC:Completed in SQL Profile, but the data is not updated

    I would assume that some other process is toggling all rows back to zero, and not that SQL is not updating after it explicitly said it updated/Completed.

    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: What is Alternative of numbered_procedures?

    this link describes numbered procedures fairly well; it is a little used capability that is now deprecated.

    you can have different versions of the same procedure, or even completely...

    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: Migrate all user logins

    i've been using a modified version of this script sp_help_revlogin_roles, which scripts logins and some server roles for you for an easier migration:

    https://www.itprotoday.com/strategy/cloning-security-objects-between-servers

    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: Is sp_send_dbmail Asynchronous?

    sp_send_dbmail is asynchronous. the whole process is already a service broker.
    it returns success and an mail_od immediately without actually sending anything, and puts it in a queue.

    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: Run New PowerShell Process As A Different User

    not sure if this helps.
    Fore security reasons, i never log in as my elevated account, but as a regular account,and spawn applications with the privileged account as needed. via...

    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 getting locked up - Important please help!

    Here's my first suggestion:

    grab a copy of Adam Mechanic's sp_whoisactive and put it in the master database:
    http://whoisactive.com/downloads/

    running a command like this manually will give...

    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: Recommendations for "phasing out" of local SQL backups for NetApp SNAPS

    For Production, NetApp SNAPs cannot do an individual databases point in time restore, can it?
    if they can demo you can rollback to a specific point in time, for one...

    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: security ? for SSAS tabular

    they need to bump up their skillset, and this is your opportunity to help them.
    do not allow SQL connections. period. eventually that password gets passed around and is insecure.

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