Forum Replies Created

Viewing 15 posts - 496 through 510 (of 2,647 total)

  • RE: Login User mapping related issue

    This login "SQLALLUSERS"... Is it a group (icon shows 2 people) or a single user (icon simply shows 1 person)? Is it a domain user/group (domainname\SQLALLUSERS)? What server...

  • RE: Adding Existing Jobs as Subplans to Maintenance Plan

    Well, personally, I would create a new maintenance plan with all that is needed and then get rid of the others. Jobs have steps so that you do not...

  • RE: Random space filled varchars

    Donald Bustell (7/16/2012)


    I didn't build the InfoPath front end and having never run it I have no idea if it is putting the rows in one at a time or...

  • RE: Random space filled varchars

    ScottPletcher (7/16/2012)


    Donald Bustell (7/16/2012)

    Database: timetracking

    Column: project varchar(50)

    Questions:

    1. What in the world???

    2. How would I craft a trigger to just RTRIM everything on the way in?

    Thanks

    Donald

    CREATE TRIGGER dbo.project_trg_ins

    ON dbo.project

    AFTER INSERT

    AS

    UPDATE p

    SET

    ...

  • RE: Partitioning in SQL Server 2008 R2

    I'm sorry, but I don't really understand what you are trying to accomplish. Can you please try to break it down again and explain it a bit better?

  • RE: Random space filled varchars

    Without knowing how you are accessing the data via Excel, it is really hard to give any advice or thoughts. Of course, it is very possible that the projects getting...

  • RE: Need help on a Sql Query

    Brandie Tarvin (7/16/2012)


    SQLKnowItAll (7/16/2012)


    Brandie Tarvin (7/16/2012)


    The asterick isn't helping you much, either. Try breaking that down to individual column names.

    Although I am not a fan of using *, how will...

  • RE: Need help on a Sql Query

    Brandie Tarvin (7/16/2012)


    The asterick isn't helping you much, either. Try breaking that down to individual column names.

    Although I am not a fan of using *, how will eliminating that improve...

  • RE: Fill mising values

    Daxesh Patel (7/16/2012)


    There must be a better way...

    select distinct b.ParameterID,b.ParameterValue,a.ParameterTimestamp

    From #Parameters a

    Cross apply (select distinct ParameterId from #Parameters) c

    Outer Apply (select top 1 * from #Parameters

    where ParameterTimestamp...

  • RE: Super Simple SQL Front End

    We did this by writing a stored procedure that imported an excel file. The idea was that out inside sales team would track their calls throughout the day into...

  • RE: Trouble to import data to excel from microsoft query

    Use google and search for SQL Server CREATE PROCEDURE

    You will create a stored procedure in SQL Server that contains all of the code needed. Then Excel will simply execute...

  • RE: Trouble to import data to excel from microsoft query

    Personally, I would create a stored procedure and call that from Excel. That way, the user cannot change the query and you can use all of the SQL features.

  • RE: Performance related query

    You are sending 4.5 million rows of data with over 200 columns to users on a daily basis? They must have an amazing capability to visualize that in their...

  • RE: Transact Newb - What am I doing wrong?

    To report an error, you can put this into your catch:

    declare @str VARCHAR(MAX) --set size accordingly

    select

    ErrorNumber=error_number(),

    ...

  • RE: Adding Existing Jobs as Subplans to Maintenance Plan

    I'm not sure I understand the question.

    1. When you are talking about a "maintenance plan," are you speaking of using the wizard to do this in SSMS?

    2. Why...

Viewing 15 posts - 496 through 510 (of 2,647 total)