Forum Replies Created

Viewing 15 posts - 931 through 945 (of 1,409 total)

  • RE: inserting horizontal records from table1 as vertical records in table2

    Remember, the output is only quaranteed in a specific order if you specify the ORDER BY in the query. How the data is phisically structured is not importand.

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: SQL Disk Error

    I notice a warning about the "cluster validation". Please run the cluster validation check from Windows and correct all reported problems.

    I notice the message stating "clustered disk unavailable". Are the...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: inserting horizontal records from table1 as vertical records in table2

    Phil Parkin (7/15/2013)


    I think you might need to add a comma between the column names ...

    You're absolutely right!! I have to look better if I copy/paste from a post.:hehe:

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: inserting horizontal records from table1 as vertical records in table2

    INSERT INTO table2

    SELECT FDT1, TODT1 FROM table1

    UNION ALL

    SELECT FDT2, TODT2 FROM table1

    Edit: corrected the code with comma's between the columns

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Error on Restore

    The error is given because the specified file allready exists and the file is currently in use. Probably a database with the same name does exist on the SQL instance....

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: decalre select

    If you want to pass an unicode value to a stored procedure, you first need to set the value to a variable. Then pass the variable to the stored procedure:

    declare...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: decalre select

    You need to apply the "N" when you set the value of the variable and not when you use the variable to fileter your results. This will work:

    declare @kat nvarchar(50)

    set...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Restore the database into temp database

    The [tempdb] is re-created every time the SQL Engine is (re-)started. There is no need and it's even not possible to create a backup of the [tempdb].

    If you...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Restore temp database

    Double post: see http://www.sqlservercentral.com/Forums/Topic1473467-391-1.aspx

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Update Script

    Add a filter to your query to select only the NULL values. Remember that because of the NULL values an equal sign doesn't work. You have to use the IS...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Query Help V2

    This code will give you the extra column with the first day of the month. I've calculated this with DATEADD combined with the DATEPART of [TimeStamp] and the 0...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Moving data from Server-A/table-x to Server-B/Table-x

    SSIS is capable of doing very extensive filtering and transformations. Try it for yourself and if you run into trouble or need some help: on SSC is a special section...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Hai all

    Koen Verbeeck (7/12/2013)


    I think the error is coming from a job interview 🙂

    I allways forget some posters ask questions for such reasons (interview, exam, school assignment). It's a shortcut and...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Hai all

    A connection time-out error can also occur if a query takes too much time to complete. In SQL Server there is a default time-out setting for remote connection of 60...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: How to pass parameters in ssrs 2008 through stored procedure? How to get more than 2lakhs data in ssrs-excel?

    If you really want to import that much data into Excel, you need to upgrade to a newer version.

    Excel 2010 is capable to handle a bit more then 1.000.000 (1...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **

Viewing 15 posts - 931 through 945 (of 1,409 total)