Forum Replies Created

Viewing 15 posts - 1,441 through 1,455 (of 13,460 total)

  • RE: Automating backup/restore for a non DBA-user

    in my case, we have a "reporting" database the end users have access to; but sometimes they want the freshest data.

    they don't have access to production, so my simple solution...

    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: Automating backup/restore for a non DBA-user

    you can create a stored procedure that does EXECUTE AS OWNER, which will backup, restore etc.

    in my case, I have end users that can do excel or a web...

    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 Server Agent and powershell scripting - tough requirement

    i've done exactly that with plain old FOR XML and sp_send_dbmail; why do you need to complicate it with powershell?

    here's an old snippet:

    Declare @HTMLBody varchar(max),

    ...

    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: Career advice - Urgent

    My advice would be to take the better paying job right now. no doubt.

    once you are at a higher rate, it is very , very doubtful that you would find...

    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: I need code help fro finding out LATITUDE AND LONGTITUDE when you pass an valid address..

    you need a geolocation lookup table with geo coordinates for every address; do you have that?

    are you going to call a google web service for it instead?

    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: Comparison of SQL Login with SID

    if you have linked servers set up, then yes, it's pretty easy:

    SELECT * FROM

    [Development].master.sys.server_principals T1

    INNER JOIN [UAT].master.sys.server_principals T2

    ON T1.name = T2.name

    WHERE T1.sid <> T2.sid

    if you don.t then you need to...

    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 extract html files saved in column into html files. Azure blob storage.

    so the column containing the HTML is nvarchar(max), i assume, and you are going to spin off the contents to files?

    with the schema of the table, we could give 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: Import millions row data from MySQL to MS SQL

    just for fun, i grabbed the Ashley Madison database bittorrent, which is in the form of MySQL dumps, brought it into MYSQL, and then tried to import it into SQL...

    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: Restore a DB with minimal downtime

    if they need access up to the last second, i'd do this, but it takes twice as much disk space:

    restore the production copy to the ReportServer as a different name....

    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 restart or take db in single user mode by hounering all requests.

    rajemessage 14195 (10/10/2015)


    hi,

    some times i need to take db in single user mode , which can be done

    using following

    use master

    go

    alter database db_name set single_user with...

    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 call database from another server??

    SQLPain (10/7/2015)


    John,

    I have added linked Server S with report server. Can you please give an example of what would be considered as a fully qualified code.

    Also when I write 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: Prevent SSRS From Firing A Stored Procedure

    since it sounds like you don't wantto remove permissions, but to prevent it from running with all default parameters?

    can you modify the stored proc itself?

    that's the low hanging fruit,...

    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 Data flow not writing data to Excel Destination

    maynardsammons (10/6/2015)


    Thanks for the input!

    Service account used by SQL Server Agent has the same permissions that my personal account has, as far as I can tell.

    is the destination a network...

    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: tempdb is full

    mahi123 (10/6/2015)


    Thank you for yours respond , but my tempdb data file is already unrestricted growth only

    then you are out of disk space on the drive? you might need to...

    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: I used named instance during install, but really needed default instance, can I change this now?

    you'll want to uninstall, and then reinstall, two separate steps, sorry.

    there's no way to convert a named instance to a default, nor is there a way to rename it(ie from...

    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 - 1,441 through 1,455 (of 13,460 total)