Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)

  • RE: String was not recognised as a valid DateTime

    Hi,

    This is usually caused by differing Windows locales in the different SQL environments.

    To format the date in c# use the DateTime.ToString() method :

    DateTime MyDate = DateTime.Now;

    String FormattedDate = MyDate.ToString("yyyyMMdd hhmmss");

    You...

  • RE: Naming Convention of Stored Procedures

    One way I have managed to convince "we've always done it this way" types (or their bosses) is to show them the MS SQL Best Practices Analyzer.

    Be warned though, this...

Viewing 2 posts - 1 through 2 (of 2 total)