Forum Replies Created

Viewing 15 posts - 496 through 510 (of 1,229 total)

  • RE: Do distinct inside SSRS report

    This is just to illustrate the concept outside of SSRS

    Create table #temp (

    colA tinyint,

    colB tinyint,

    colC tinyint,

    colD tinyint,

    colE tinyint,

    colF tinyint,

    colG tinyint,

    colH tinyint

    )

    /* inssert some test data into our table */

    insert...

  • RE: Adding two new fields to a View

    Hi, Sorry I dont quite understand the question . You want to know how to alter a view to add two new existing columns? Can you post what you have...

  • RE: SQL anaylsis

    Just wanted to bring up a point of inquiry : the view sys.dm_db_index_usage_stats would not satisfy if any table has no indeces I imagine.

    I am not sure...

  • RE: SQL Code QA

    We don't use AS in the table aliases, though, because that's usually pretty clear.

    I find it clearer if AS is used consistently when aliasing anywhere. If I can apply...

  • RE: getutcdate during daylight savings time

    Just quick and dirty , I can get the offset as a integer with

    SELECT

    cast(

    left(

    right (

    cast(SYSDATETIMEOFFSET() as varchar(40))

    ,6),3) as int)

    Again , quick and dirty.

  • RE: getutcdate during daylight savings time

    I am in the pacific time zone. Currently , according the time zones of the world , I am eight time zones away from Greenwhich time. My area implements day...

  • RE: SQL Code QA

    You make a very good point Drew. I dont think strict rules can override common sense in accounting for every situation. Expect exceptions to the rules. A mantra I see...

  • RE: Replication and sp_rename

    I just did a quick refresher on replication and did not see anything about renaming tables. I got the impression you have to drop and recreate the article and then...

  • RE: Replication and sp_rename

    Is the replication still working otherwise? Are the two servers on the same domain?

  • RE: What kind of Fact table is this

    The way I interpret what the OP is asking for is that the customer can visit a page multiple times before a order is placed. An accumulating snapshot fact table...

  • RE: Is SQL Server Replication going away?

    Thanks Steve, yeah that is what I thought.

    The page link was posted by Thomas on this thread. I am copying it here. https://msdn.microsoft.com/en-us/library/ms143550.aspx

  • RE: Send rows of data to stored procedure in linked server

    I would really have to see the data flow here as a diagram. If proc B is calling proc A (after already being ran), what is proc A doing this...

  • RE: Is a Rowversion column necessary?

    It sounds like a good idea in a high transaction system. But maybe the business should be the one deciding that as opposed to the developers. If I am a...

  • RE: Is SQL Server Replication going away?

    Maybe I am getting my terminology mixed up. The article mentions that replication between 2008 and 2016 is unsupported. This under the heading of "Items Deprecated in SQL Server...

  • RE: questions about sql

    I keep things simple, if it is in sys.tables then it is a table even if it is not ordered. I can always use an ORDER BY clause to pull...

Viewing 15 posts - 496 through 510 (of 1,229 total)