Forum Replies Created

Viewing 15 posts - 511 through 525 (of 1,241 total)

  • 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...

    ----------------------------------------------------

  • RE: What is the best way to SELECT SUM while using PARTITION BY and WHERE and GROUP BY?

    Thanks for the feedback. And I wont bog you down with questions, just that if you want to let us know the exact issues you encountered then we can certainly...

    ----------------------------------------------------

  • RE: questions about sql

    (3) Design a package to transfer 10 files from FTP and store them to hard drive?

    Done. Ohh was this a question? 😛

    Did you have to draw this out on a...

    ----------------------------------------------------

  • RE: Load data using SSIS

    provide the serverpassword for FTP using a package config file.

    I know this is the quickest and easiest way to go about it. You know that you are storing a...

    ----------------------------------------------------

Viewing 15 posts - 511 through 525 (of 1,241 total)