Forum Replies Created

Viewing 15 posts - 121 through 135 (of 268 total)

  • RE: Can not get results to insert into table

    Yes INSERT INTO.

    I am getting an error that I need an output clause. Sorry, not sure where to put that or what syntax.

    Exact Error:

    Msg 10716, Level 15, State 1, Line...

    <hr noshade size=1 width=250 color=#BBC8E5> Regards,Jeffery Williams http://www.linkedin.com/in/jwilliamsoh

  • RE: Can not get results to insert into table

    P.S. I tried an insert in the sample below but is says I need a FOR OUTPUT and this is where I am stuck, don't know where to put...

    <hr noshade size=1 width=250 color=#BBC8E5> Regards,Jeffery Williams http://www.linkedin.com/in/jwilliamsoh

  • RE: Query for Indexes needed - but not like I have found so far.

    Figured out solution. Still need to fine tune it but if it is useful to anyone here it is.

    You can change the DB name, I just have that going into...

    <hr noshade size=1 width=250 color=#BBC8E5> Regards,Jeffery Williams http://www.linkedin.com/in/jwilliamsoh

  • RE: Difficulty with JOIN and coalesce in the SELECT

    I am such an idiot. I was beating my head against the wall. It is not like I have not done this before.

    Good grief.

    I had 'stf.TableName'

    Instead...

    <hr noshade size=1 width=250 color=#BBC8E5> Regards,Jeffery Williams http://www.linkedin.com/in/jwilliamsoh

  • RE: Difficulty with JOIN and coalesce in the SELECT

    I hope this addresses what you are looking for. I uploaded the tables. with data for a give table.

    Now if you query both those tables;

    SELECT DISTINCT *

    FROM SourceTableFields stf

    WHERE TableName...

    <hr noshade size=1 width=250 color=#BBC8E5> Regards,Jeffery Williams http://www.linkedin.com/in/jwilliamsoh

  • RE: Count of records in all tables, specify DB

    The environment is mixed. Thank you for the recommendation.

    <hr noshade size=1 width=250 color=#BBC8E5> Regards,Jeffery Williams http://www.linkedin.com/in/jwilliamsoh

  • RE: Count of records in all tables, specify DB

    That is a great suggestion. In those case it wont work because I am having to link server call everything and their are many databases across multiple servers. In other...

    <hr noshade size=1 width=250 color=#BBC8E5> Regards,Jeffery Williams http://www.linkedin.com/in/jwilliamsoh

  • RE: Count of records in all tables, specify DB

    Very awesome, thank you so much.

    <hr noshade size=1 width=250 color=#BBC8E5> Regards,Jeffery Williams http://www.linkedin.com/in/jwilliamsoh

  • RE: Count of records in all tables, specify DB

    Thanks I had something like this as well but I need to specify the DB to get the count from. It will be a stored procedure and will be getting...

    <hr noshade size=1 width=250 color=#BBC8E5> Regards,Jeffery Williams http://www.linkedin.com/in/jwilliamsoh

  • RE: UPDATE Trigger - Problem with multiple row update

    I messaged the person that sent the message to my group. They are usually pretty on point but I am confirming. And yes agreed this is not a MS SQL...

    <hr noshade size=1 width=250 color=#BBC8E5> Regards,Jeffery Williams http://www.linkedin.com/in/jwilliamsoh

  • RE: UPDATE Trigger - Problem with multiple row update

    The issue seems to be outside my trigger.

    And, I did include the text of the error message. Error message is as follows:

    would update more than one row.

    And yeah... you...

    <hr noshade size=1 width=250 color=#BBC8E5> Regards,Jeffery Williams http://www.linkedin.com/in/jwilliamsoh

  • RE: UPDATE Trigger - Problem with multiple row update

    I tried manually updating a record that would result in a single row updated. And then one that results in multiple rows.

    Both work fine. I should have done that...

    <hr noshade size=1 width=250 color=#BBC8E5> Regards,Jeffery Williams http://www.linkedin.com/in/jwilliamsoh

  • RE: UPDATE Trigger - Problem with multiple row update

    So you are saying my trigger looks fine for updating several records? Not what I wanted to hear 🙁 It is a purchased app and I put audit tables on...

    <hr noshade size=1 width=250 color=#BBC8E5> Regards,Jeffery Williams http://www.linkedin.com/in/jwilliamsoh

  • RE: Call for a database backup for a database on another (linked) server

    My new assignment here is full of it. If i were not so darn tired I probably would have gotten it. Thanks again! And yes dynamic SQL...

    <hr noshade size=1 width=250 color=#BBC8E5> Regards,Jeffery Williams http://www.linkedin.com/in/jwilliamsoh

  • RE: Call for a database backup for a database on another (linked) server

    You Lynn are a genius!

    Thank you so much for your help.

    <hr noshade size=1 width=250 color=#BBC8E5> Regards,Jeffery Williams http://www.linkedin.com/in/jwilliamsoh

Viewing 15 posts - 121 through 135 (of 268 total)