Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
E

EralperYilmaz

@EralperYilmaz
About
Posts
3
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • how can a get top each event in my related table
    E EralperYilmaz

    With SQL Server 2005, we can use Row_Number() function and Partition By clause to number rows in categories So you can partition your data in Event category and filter only the rows with row number is 1 So you will get only 1 row per category

    with cte as (
    SELECT [Guid] ,
    UserGuid ,
    ReferenceGuid ,
    ReferenceID ,
    [Event] ,
    Comments ,
    [Time] ,
    IPAddress,
    rn = ROW_NUMBER() OVER (Partition By Event Order By Time Desc)
    FROM EventLogs
    )
    select * from cte where rn = 1

    Please check the following URL for similar sample code http://www.kodyaz.com/articles/top-n-random-rows-foreach-category-or-group.aspx[^]

    Database help

  • Data migration from Oracle to SQL server 2005
    E EralperYilmaz

    SSIS is the best choice for a tool candidate that will be used for data transfer But you can create a SP and create a job with 3 minutes interval in each run Within the SP you can connect to Oracle DB and transfer your data using stored procedure.

    Database sql-server database oracle sysadmin question

  • Migrating From SQl 2005 to 2008
    E EralperYilmaz

    Hello, It is best practise to run Upgrade Advisor before starting an upgrade. Please refer to SQL Server 2008 Upgrade Advisor download links. I have done this upgrade a few times without any problem. I hope it will be easy for your case also

    Database database question code-review
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups