Forum Replies Created

Viewing 15 posts - 1,171 through 1,185 (of 1,409 total)

  • RE: Query Help

    You'll need to add a rownumber to the table so you can JOIN it to the previous row. In the below code I've used also a CTE . That way...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Querying Snapshot Data

    If you provide the statements to create the test data, it will be a lot easier to give you some help.

    My guess is you need to join on a sub-select...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: unable to work on SSIS project in BIDS 2008

    take a look on this post on MSDN: http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/420a44b3-86ec-4aca-8165-cf5ed5e2d8d4

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Unable to see the tables

    The error message "The SELECT permission was denied on the object 'extended_properties', database 'mssqlsystemresource', schema 'sys'." implies that DENY or REVOKE access is applied on the [mssqlsystemresource] database. Or perhaps...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: windows updates / security patches in a clustered environment?

    Instead of patching first three nodes and second one node, you could also patch first two nodes and second other two nodes. Perhaps you could allready implement this without installing...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: windows updates / security patches in a clustered environment?

    If the cluster node has enough capacity (mem, CPU) you could move all SQL-instances to one node.

    1. Move all SQL instances to node A.

    2. Install patches on nodes B, C...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Query implementation help.

    I think the only possible solution would be dynamic SQL. Get all your info (including required fields, alternate fieldnames, tables, etc.) from the client and build the query with this...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Running DTS packages on 2008 R2

    I've read your first post again and noticed something. You are using DTSRUN in your command prompt. The dtsrun command prompt utility (dtsrun.exe) that was used in SQL 2000 has...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: automate estore database into database with a different name

    steps to generate the automated process:

    - manually go througt the RESTORE GUI and generate a script for the complete restore command

    - change the name of the backupfile in the generated...

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

    If I understand correctly, you want the values out of a dynamic number of colums and use these values to create a new query.

    It takes several steps to accomplish this....

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Case with Wildcards

    Remember: if within a CASE statement the WHEN clause is TRUE, the following WHEN statements and the ELSE statement is not executed anymore.

    So if some data in your example contains...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: SQl Agent job when query fails to return result

    No, you should put the "EXEC sp_trace_setstatus 2, 1" command in the IF block, just before or after the mail command. Because of the "not exists" check, the first IF...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: mdf file growing

    Check the recovery model of the database. If it is in FULL recovery you need to take frequently LOG-backups (every 15 - 30 minutes). If you don't do that the...

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

    You have mixed Visual Basic language (private sub....) with T-SQL (Select Case ....). Those languages can't be combined in one statement.

    The code you stated is more Visual Basic then T-SQL...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Running DTS packages on 2008 R2

    Open a command prompt on each node, navigate to the root of the disk and execute "dtexec /?" (without quotes). Compare the version number in both outputs. They should be...

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

Viewing 15 posts - 1,171 through 1,185 (of 1,409 total)