Forum Replies Created

Viewing 15 posts - 226 through 240 (of 13,460 total)

  • RE: DBA left and they shut off his AD account

    here's a snippet which checks for database owners and job owners: you will need to run this on each server:

    DECLARE @name VARCHAR(128)
    SELECT @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: List edition and version of all SQL Server machines over the Network ...

    Active directory will have a list of all servers, which you could then use a WMI query to query services,and get the names of each instance on the server...
    then...

    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: Various ODBC File Data Type Images must be written in the proper format on to disk. SQL Server 2012 Enterprise

    do you have all three elements needed, the binary image, the filename and extension in your table?

    SQL Server itself does not have tools for sending data to files,...

    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: Extended Events to capture deadlocks

    i hope this helps:
    this is the extended events definition i use for a deadlock graph:
    IF NOT EXISTS(SELECT * FROM [sys].[server_event_sessions] [dxs] WHERE [dxs].[name] = 'Deadlock_Tracking')

    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 2017 connection to Access .accdb file

    you can install the 32 bit side by side if you execute the package with an optional flag.

    make sure you open an Administrative command prompt window, and run...

    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: Connecion Issue's to a SQL Instance

    i would guess that although you said the TCP is set up correctly, it sounds to me like one instance is using a dynamic port for connections, and the other...

    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 Database Administrator Interview Questions

    i don't ask yes or no or fill in the blank questions, i try to make the interviewer talk about the issue and experiences he has with a particular focus.

    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: Connections made to Server

    it sounds much more like you are looking for whodunnit information...like did Lowell access the Payroll database.
    just a plain old login audit will only tell you Lowell connected 40...

    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: DB mail failure list help

    probably not.
    usually when you send an email to a number of recipients, for example to: currentlyValid@email.com;nolongerValid@email.com;, the SMTP server accepts the message, and database mail receives the SMTP...

    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: Expporting from SSRS to Excel with All Drill-Down Levels

    i think what you want is a data driven subscription.
    generate a view that would build all the parameters for all reports, and create a subscription that populates the parameters...

    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 Failed for user Domain\User

    each client that used to connect to the server, if it has a problem, needs to install the updated SQL Native Client.
    it sounds like your machine , specifically needs...

    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: DB mail failure list help

    if you are using SQL Database mail, you can query the msdb database:
    if the smtp server returns an error, like no such mailbox, you can see it in there.

    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: DNS cnames and aliases for SQL Servers

    are you using fully qualified names for the DNS? like myServer.AlphaTangoWhiskey.com, or just the name that has to be resolved, like myServer?
    can you test and see if it makes...

    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: Error during BCP import - Invalid column ordinal for field [X] in xml format file. No spaces in column name. Any other ideas?

    for your BCP, can you explicitly convert to varchar, so it's not a custom type on exoprt?

    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: Exporting results to any kind of file via SQL Agent without Job headers

    here's a complete example like Sue_H is referencing:
    sqlcmd -S stormserver\SQL2016 -Q "SET NOCOUNT ON;select TOP 10 * from DBA.dbo.Algorithm" -o c:\data\myfile.csv -h-1 -s","

    The parameter flags...

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