Forum Replies Created

Viewing 15 posts - 3,181 through 3,195 (of 13,460 total)

  • RE: CDC Growth and poor performance issues

    your settings for CDC were probably set to keep data for 100 years or something,a nd now you are seeing some performance inpact;

    I setup CDC on a few tables, 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: Auto Save / Auto recover in Management Studio?

    arbcoll (10/10/2012)


    Back to the issue SSC Veteran reported on the second post of this topic, I had the same experience - lost my 2 day work after an autorestart during...

    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 use clr function in select but not in update

    instead of returning a zero when there's an error, just throw a sqlexception, and that will return the full error message, so you can track it down completely.

    if it's 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: Columns from one table match with rows in another table

    yeah i strugged thru the broken DDL as well;

    unfortunately, becuase you have no true relationship to the two tables, you have to make assumptions to get teh data to work...

    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 package when email is received or based on database value?

    I've got a CLR i created that does a proof of concept reading of mail from a POP3 server; i'm slapping together an article for SSC on it;

    The problem ...

    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 msdb database to a different server - sql server 2008 R2

    i believe you need to script out the jobs, and find and replace the old server name with the new server name; As I remember it, the jobs have 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: Group every X rows up to Y

    darthurfle (6/28/2013)


    Hi Lowell,

    I am not trying to make the solution harder. It is a real world situation.

    The table in question is a SAP ECC Add-on "standard" table that establishes relationships...

    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: Using RAISERROR with Dynamic SQL

    you want to use raiseerror as a progress indicator from some dynamic SQL, is that it?

    here's one example that would be appriate in a cursor loop, does this help?

    --print error...

    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: Group every X rows up to Y

    ok i still don't understand the issue i guess; I think you are over complicating things too much.

    correct me if i am wrong, but you need to delete ALL data...

    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 read all content of sp or fn?

    or grab them all in one data set, duh, i should have posted this first!

    SELECT object_schema_name(object_id),

    object_name(object_id),

    DEFINITION

    FROM sys.sql_modules

    ORDER BY object_name(object_id)

    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 read all content of sp or fn?

    halifaxdal (6/28/2013)


    Currently I am using the following code to read all content of sp or fn and it works in most cases, however, it does return more than one rows...

    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: Dreaded Documentation.

    hopefully you'll get a stack of options;

    Here's one: this procedure returns a table of HTML-formatted information that documents some server settings, and object details of the currently scoped database:

    Link 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: Inserting Results from SPROC into table

    tstagliano (6/28/2013)


    Thanks for the information but i dont what the table to be a temporary table in the tempdb database. I need it to appear in the ConstarOLAP_PROPHIX_FactDB where...

    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: Inserting Results from SPROC into table

    as long as you declare a temp table before the EXEC command, any other queries would have that table in scope, and can insert into it (same for permanent tables)

    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: Granting access to remote location to SQL Server 2012

    Maddave (6/28/2013)


    Can you change the SQL server to run under a dedicated account rather then system account? Then you should be able to set up the share to have write...

    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 - 3,181 through 3,195 (of 13,460 total)