Forum Replies Created

Viewing 7 posts - 1 through 8 (of 8 total)

  • Reply To: I am new to SQL world

    Thom A wrote:

    Kabina wrote:

    This is backend tables are on SQL server where I got access to retrieve data where datatype for POdate is nvarchar(48).

    That doesn't explain the data type choice. A...

    • This reply was modified 5 years, 10 months ago by Kabina.
  • Reply To: I am new to SQL world

    Thom A wrote:

    Kabina wrote:

    Jeff Moden wrote:

    What is the actual datatype of the POdate column?

    Datatype is nvarchar(48) but when I run Isdate() function it shows 1 which is valid date.

    ISDATE() , like it's...

  • Reply To: I am new to SQL world

    Jeff Moden wrote:

    What is the actual datatype of the POdate column?

    Datatype is nvarchar(48) but when I run Isdate() function it shows 1 which is valid date.

    • This reply was modified 5 years, 10 months ago by Kabina.
  • Reply To: I am new to SQL world

    Thom A wrote:

    This is pseudo-SQL, but seems like you'd be better off with a start and end parameter, which you set at the start of the batch:

    DECLARE @StartDate...

    • This reply was modified 5 years, 10 months ago by Kabina.
    • This reply was modified 5 years, 10 months ago by Kabina.
  • Reply To: I am new to SQL world

    Should I use declare variable above query or I can use in between as well ?

    • This reply was modified 5 years, 10 months ago by Kabina.
  • Reply To: I am new to SQL world

    Hi I am trying to get :

    if today is Monday then it will show result from Friday to Sunday

    Else

    if today is not Monday then I will show you result one...

    • This reply was modified 5 years, 10 months ago by Kabina.
    • This reply was modified 5 years, 10 months ago by Kabina.
    • This reply was modified 5 years, 10 months ago by Kabina.
  • Reply To: I am new to SQL world

    Thank you all of you for explaining. If I want to retrieve data from SQL server and Oracle. Is there any difference in query structure between SQL and Oracle  or...

Viewing 7 posts - 1 through 8 (of 8 total)