Forum Replies Created

Viewing 15 posts - 5,206 through 5,220 (of 5,356 total)

  • RE: Nesting Stored Procedures

    quote:


    What you could do is write your GUI so that your main user interface is in a bald HTML file and that...

  • RE: Nesting Stored Procedures

    quote:


    I take it that you are talking about a web application?

    [{quote]

    GUI is displayed in Browser

    quote:


  • RE: Nesting Stored Procedures

    I'm thinking of implementing centralised validation of input at a database level for protecting against sql injection. I do not trust this only be done at application level.

    Nested stored...

  • RE: How to pronounce SQL

    quote:


    This is how it's pronounced if you're a finance director being asked to pay of ORACLE.


  • RE: How to find the last of a date field

    Hi ytao,

    although Len's solution works, if you're just just looking for last day of month an year based on the given date what about

    SELECT day(dateadd(d,-day(@date),dateadd(m,1,@date)))

    Works also for YEAR(...)

    It should be...

  • RE: find a function call

    Hi,

    have you tried the T-SQL Debugger from within VB?

    Cheers,

    Frank

  • RE: Cleanly Shutdown

    Well, status in my model db is 0.

    Good luck!

    Cheers,

    Frank

  • RE: Cleanly Shutdown

    When you take a db offline without an error, the entry for status is - in my case - 1077936640 which is the sum of cleanly shutdown, offline and autoshrink....

  • RE: Converting a char to a smalldatetime

    quote:


    If you submit the date to SQL Server in the format YYYYMMDD (with no separators), then SQL Server will correctly interpret the...

  • RE: Converting a char to a smalldatetime

    Hi,

    this will work

    declare @date1 varchar(10)

    declare @date2 datetime

    select @date1 = '01.01.2003'

    set @date2 = convert(datetime,@date1,103)

    print @date2

    Cheers,

    Frank

  • RE: Auto Increment is SQL

    Hi,

    autoincrement is something that happens in INSERT actions. Do you want a calculated ongoing index for your SELECT statement?

    Cheers,

    Frank

  • RE: JDBC connectivty and sql script

    Hi,

    here is a snippet of a jsp page I built just for fun to test java?!? and SQL Server.

    www_assetlist is a view on the SQL Server.

    <%

    ...

  • RE: auto grow

    Positive,

    date modified changes when an autogrow occurs.

    Cheers,

    Frank

  • RE: Stored Procedure Execution Problems

    Well, at first sight I thought SELECT DISTINCT @dataset might cause the problem, but at quick test has proven me wrong.

    Have you tried putting in some @@error check in...

  • RE: How to find the last of a date field

    Hi,

    do you mean MAX(datefield)?

    or datepart(dd,datefield)?

    or a combination like SELECT datepart(dd,max(datefield)) from table?

    Cheers,

    Frank

Viewing 15 posts - 5,206 through 5,220 (of 5,356 total)