Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    MS SQL Server


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Best MSSQL Management Tools


Hi everyone.

I manage 100+ databases spread across the country. When it comes to perform an update or offsite backup, it is a nightmare. I have to repeat the same code and the same process for 100+ times.

Is there any tools other than MS Enterprise manager we can use to perform this type of maintenance works in a batch manner? For example, we place a update sql file within the program, and the program does the rest (of course, we predefine the login credential for each databases)

Cheers~

gmefmax:angel:




View Complete Forum Thread with Replies

Related Forum Messages:
SQL Server Management Express Studio Management Tools
 

I have recently installed the SQL Server Management Studio Express but I do not find Management Tools in order to create scheduled backups and shrinking of the databases. I was under the impression that this should be included in the Management Studio. I use the SQL 2005 Express for smaller customers who run the SQL on a desktop unit. I need a way to backup the data to a server machine for backup purposes. I have uninstalled and reinstalled to no avail.

View Replies !
Where Are The SQL Management Tools???
I just finished installing SQL Server 2005 Developer Beta 2.

View Replies !
Can Not Install The Management Tools
I cannot install the management tools and other components of sql server 2005 Developer, it always says “The following components that you chose to install are already installed on the machine�.By the way, I have installed sql2005 express with vs2008, but I do not intall the management studio express .

View Replies !
SQL 2005 Management Tools
Hi, I installed sql 2005 dev for testing sharepoint, and the management studio was not installed. Now, i am afraid to try to install it because i am thinking it may uninstall or re-install all sql components (and probably erase existing instances and sharepoint data may be lost. I have installed on an other pc the client tools, but i cannot connect to that instance, and i cannot attach the user databases (i get the 5123 error)

Can anyone help me how i can install management services without messing up the sharepoint instance?

View Replies !
Change Management Tools
Hi

I'm looking into various technologies that can make our lives easier. I have a number of processes to define, including:

Auto rollback scripting
Deployment to different environments (dev, test, production)Generation of deployment scripts from source control
Tracking deployments (generation of reports detailing exactly what occurred in a deployment)

Rather than try to custom the processes, I've decided to use a technology that already does the above and more.

Can anyone recommend any tools?

I've looked briefly at SQL Farm Combine which looks good. Anyone using this?

Hearty head pats

View Replies !
Is There Any Open Source Db Tools For MSSQL ?
hi, good day, is there any good open source database tools available for mssql ? thank you

View Replies !
Need Info On Tools For MSSQL Reporting Etc.
Hi All,

Am looking for inputs on tools for MSSQL. Some of my requirements are

1) Database Audits or to audit database settings and Logins
2) Performance Monitoring
3) Query Tuning
4) Data Compare
5) Load Testing - to see how an sql instance/server reacts to higher load/volume.

I am looking for reviews/web-links from any first-hand experience wherever possible.

TIA,

Warm Regards,
Ranjit.

View Replies !
Tools Or Add-ing To Enchance Studio Management ?
Hi,
I am an novice to SQL field, seeking for tools or add-ing to enchance sql studio management, especially for code completion and real-time prompt of erroneous syntax.
More concretely, could you kindly list great third-party tools you have used, and feel worth evaluating.
Reagrds,
Ricky/

View Replies !
SQL Server Express Management Tools
Can anyone tell me where to download the management tools for SQL Server 2005 Express?

Thank you,

View Replies !
Management Tools In SQL SERVER 2005
Hi Team,
Is there any management tools in SQL SERVER 2005? I just installed my standard edition and also developer version in different computer, but seems that both versions doesn't support management tools such as query analyzer.
Can anyone explain to me...
Thanks.

View Replies !
SQL Server Management Tools Not Installed
>> I was able to solve this.  Read the bottom of the post.

I just installed SQL Server 2005 Standard Edition and none of the management tools seem to be there.  At least they do not show up in Start>>All Programs>>Microsoft SQL Server 2005.  All that shows up is the Configuration Tools menu item.

I have been searching through the forum and I have found dozens of other threads about this, but none that seem to actually answer the question or give a solution.  Some say to delete everything and start over, others say to review Visual Studio 2005 (which takes something like 4 hours to install, and then you still have to install all of the 3rd party tools, so I don't want to do that unless I just have to), and a few others say to uninstall SQL Server Express and then reinstall SQL Server.  However, I believe that I selected to install them both at the same time.

Anyway, I just looking for some ideas here to get all of this installed.  There seems to be some problem here that a lot of people are having to deal with. 

Are the Managment Tools disabled by default?  It seems that in 2005 a lot of the services are turned off by default so I'm wondering if I have to do something to turn on the Management Tools.

Best regards,

Greg Rothlander

 

I just uninstalled and reinstalled per some threads on the forum and it all showed up.  Apperently if anyone runs into this, just uninstall everything that has to do with Microsoft SQL Server and reinstall.

 

 

View Replies !
Installing SQL Server Management Tools
I have been trying for 2 days now to get the SQL Server management tools installed on client machines.  I'm starting to think it is not possible to do that the way we used to be able to with previous versions of SQL Server.  I have installed 3rd party open source software on my own machine so that I can query the database without logging onto the server directly and would like for my co-workers to be able to do the same.  As I mentioned we tried the SQL Server Management studio and all we get is a message saying to uninstall all the beta and Visual Studio *** on our machines.  We stripped one machine all the way down to the OS and still kept getting that message so I'm guessing it is some new Windows Vista issue that makes SQL Server 2005 client tools completely incompatible with XP.  However, we are not going to bow to Microsoft's evil ways and upgrade to their new OS just to use the SQL Server Studio.  If need be I will write my own software to workaround this problem.  In the meantime, can anyone recommend some good 3rd party tools that will allow us to query the SQL Server 2005 database on a server and preferably one that does not require all other software be removed first?

View Replies !
Why Are Tools Not Available After Setup Ie. Management Studio
This is not the first install for me but i've noticed that after installing sql server standard 2005 and then i put on sp2 i cannot find my management studio.  i don't think that is was ever installed although i did choose to install it.  now when i try to install the tools i'm getting the error that they already exist. arghhhh... ? I've looke to uninstall them through the "add or remove programs" but thats a no-go.  Any help would be appreciated.

 

thanks.

 

(just to add to this my sql database resides on another server so I copied the contents of the dvd over to the server)

View Replies !
Remote Database Management Through LDAP Tools
Hai All

How to insert and delete records from a table in the remote database?"

I want it to be done through a tool that used LDAP Servers.

I want tools for the LDAP .



Thank u Advance

Regards
Sunil
aboutknowledge@gmail.com

View Replies !
Remote Database Management Through LDAP Tools
Hai All

How to insert and delete records from a table in the remote database?"

I want it to be done through a tool that used LDAP Servers.

I want tools for the LDAP .


Thank u Advance

Regards
Sunil

View Replies !
Install Of 2005 Management Tools Fails
 

I have VS2008 installed. Now, I need to install the SQL server Management Tools, because of tasks I have on SQL server instances which are installed on other servers. I guess a lot of developers are in such a situation. You develop on your own machine, but deploy the final database on a production machine.And you happen to be the manager of those databases too (well, I am)
 
Now, it seems impossible to install the neccesary tools as I get messages;
The following components that you chose to install are already installed on the machine. To view a report of available options and alternatives click on details (Workstation components, Books Online and development tools 9.2.3042.00)  
 
Then on the Details, it says the following,


Name: Microsoft SQL Server 2005 Tools Express Edition

Reason: Your upgrade is blocked. For more information about upgrade support, see the "Version and Edition Upgrades" and "Hardware and Software Requirements" topics in SQL Server 2005 Setup Help or SQL Server 2005 Books Online.

Build version check:

Your upgrade is blocked because the existing component is a later version than the version you are trying to upgrade to. To modify an existing SQL Server component, go to Add or Remove Programs in Control Panel, select the component you would like to modify, and then click Change/Remove.

 
Now, I have no clue of what can be safely removed to allow the installation of the Management Tools. I am afraid that I will end up with a non-working SQL server Express installation which is required for VS2008
 
What should I do to get these Managment Tools installed on my develop machine?
 

View Replies !
SQL Server Management Tools - Service Pack?
I've got the following installed on my local machine (XP Pro, sp 4, SQL 2000 tools)
Microsoft SQL Server Management Studio                                                                       9.00.1399.00
Microsoft Analysis Services Client Tools                                                               2005.090.1399.00
Microsoft Data Access Components (MDAC)                                                                  2000.085.1117.00 (xpsp_sp2_rtm.040803-2158)
Microsoft MSXML                                                                 2.6 3.0 5.0 6.0
Microsoft Internet Explorer                                                               6.0.2900.2180
Microsoft .NET Framework                                                              2.0.50727.42
Operating System                                                                 5.1.2600

It keeps bomging and giving errors.

I can't find a specific service pack for the tools...maybe there isn't one?  Do I need to install the regular sp2 server service pack?

I'm confused.

View Replies !
SQL Server Management Tools Standard And Express
Can the SQL Server 2005 Management Studio interact with local SQL 2005 Express databases.  So can we use one management tool for both our server (non-local) SQL 2005 Databases and our local SQL 2005 Express databases (That the developers have free reign over). 
 
Any tips and tricks for this kind of setup? 
 
 

View Replies !
Installing SQL Server 2005 Management Tools - Setup Crashing Repeatedly
I'm having many many issues installing sql server management tools. i had visual studio 2005 installed first, but uninstalled and sql related things before trying to install sql server management tools again - i also deleted the program files/microsoft sql server/ folder so there are no references.

Firstly the system configuration check gives me a warning that the system doesn't meet the recommended hardware requirements - this is wrong... i've got 2.33Ghz dual core + 1gb of ram...

I select just management tools + client connectivity to install and click next -> the setup support files/native client/owc11 etc all install fine but workstation components etc fail and the setup log appears to either be empty and not available
and MSXML6 fails... after clicking finish the installer appears to crash - : "Microsoft SQL Server 2005 Setup has encountered a problem and needs to close.  We are sorry for the inconvenience"... I have tried all sorts of variations on this install and have had no problems in the past - please help!

The setup log from the MSXML6 failure -
=== Verbose logging started: 18/03/2008  12:34:09  Build type: SHIP UNICODE 3.01.4000.4039  Calling process: C:Program FilesMicrosoft SQL Server90Setup Bootstrapsetup.exe ===
MSI (c) (5C:78) [12:34:09:067]: Resetting cached policy values
MSI (c) (5C:78) [12:34:09:067]: Machine policy value 'Debug' is 0
MSI (c) (5C:78) [12:34:09:067]: ******* RunEngine:
           ******* Product: {AEB9948B-4FF2-47C9-990E-47014492A0FE}
           ******* Action:
           ******* CommandLine: **********
MSI (c) (5C:78) [12:34:09:067]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (5C:78) [12:34:09:067]: Grabbed execution mutex.
MSI (c) (5C:78) [12:34:09:067]: Cloaking enabled.
MSI (c) (5C:78) [12:34:09:067]: Attempting to enable all disabled priveleges before calling Install on Server
MSI (c) (5C:78) [12:34:09:067]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (28:E4) [12:34:09:113]: Grabbed execution mutex.
MSI (s) (28:74) [12:34:09:113]: Resetting cached policy values
MSI (s) (28:74) [12:34:09:113]: Machine policy value 'Debug' is 0
MSI (s) (28:74) [12:34:09:113]: ******* RunEngine:
           ******* Product: {AEB9948B-4FF2-47C9-990E-47014492A0FE}
           ******* Action:
           ******* CommandLine: **********
MSI (s) (28:74) [12:34:09:113]: Machine policy value 'DisableUserInstalls' is 0
MSI (s) (28:74) [12:34:09:113]: MainEngineThread is returning 1605
MSI (c) (5C:78) [12:34:09:113]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (c) (5C:78) [12:34:09:113]: MainEngineThread is returning 1605
=== Verbose logging stopped: 18/03/2008  12:34:09 ===

The log summary:

Microsoft SQL Server 2005 9.00.1399.06
==============================
OS Version      : Microsoft Windows XP Professional Service Pack 2 (Build 2600)
Time            : Tue Mar 18 12:05:06 2008
 
EOC429 : The current system does not meet recommended hardware requirements for this SQL Server release. For detailed hardware requirements, see the readme file or SQL Server Books Online.
Machine         : EOC429
Product         : Microsoft SQL Server Setup Support Files (English)
Product Version : 9.00.1399.06
Install         : Successful
Log File        : C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0001_EOC429_SQLSupport_1.log
--------------------------------------------------------------------------------
Machine         : EOC429
Product         : Microsoft SQL Server Native Client
Product Version : 9.00.1399.06
Install         : Successful
Log File        : C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0001_EOC429_SQLNCLI_1.log
--------------------------------------------------------------------------------
Machine         : EOC429
Product         : Microsoft Office 2003 Web Components
Product Version : 11.0.6558.0
Install         : Successful
Log File        : C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0001_EOC429_OWC11_1.log
--------------------------------------------------------------------------------
Machine         : EOC429
Product         : Microsoft SQL Server 2005 Backward compatibility
Product Version : 8.05.1054
Install         : Successful
Log File        : C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0001_EOC429_BackwardsCompat_1.log
--------------------------------------------------------------------------------

 SQL Server Setup failed. For more information, review the Setup log file in %ProgramFiles%Microsoft SQL Server90Setup BootstrapLOGSummary.txt.


Time            : Tue Mar 18 12:19:20 2008


List of log files:
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0001_EOC429_Core(Local).log
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0001_EOC429_SQLSupport_1.log
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0001_EOC429_SQLNCLI_1.log
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0001_EOC429_OWC11_1.log
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0001_EOC429_BackwardsCompat_1.log
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0001_EOC429_MSXML6_1.log
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0001_EOC429_Datastore.xml
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0001_EOC429_.NET Framework 2.0.log
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0001_EOC429_Core.log
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGSummary.txt
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0001_EOC429_.NET Framework 2.0 LangPack.log
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0001_EOC429_.NET Framework Upgrade Advisor.log
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0001_EOC429_.NET Framework Upgrade Advisor LangPack.log
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0001_EOC429_.NET Framework Windows Installer.log
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0001_EOC429_.NET Framework Windows Installer LangPack.log
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0001_EOC429_SNAC.log
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0001_EOC429_Support.log
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0001_EOC429_SCC.log
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0001_EOC429_WI.log

View Replies !
Warning Messages && Failure Installing MSSQL 2005 Enterprise Client Tools
I am trying to install the client tools for management purposes only on a IBM T42 laptop which meets all the hardware and software requirements listed on MS support including the HCL list, the Readme, the forums and MSDN but the install still shows the following log messages when the install fails.

AdminMessage = Setup requires user to be in the administrator group in order to continue the installation process. Setup is aborting as the current user is not in the administrator group.

(I am an adminsistrator on this machine)


Property(S): SupportedOSMessage = Installation of this product failed because it is not supported on this operating system. For information on supported configurations, see the product documentation.

Property(S): SupportedProcTypeMessage = This Microsoft SQL Server Native Client package is not supported on the current processor type.

 

Any help would be appreciated.

View Replies !
SQL Server Express 2008 - Missing Client Tools / Management Studio / Profiler
 

I downloaded and performed a full install of SQL Server Express 2008 Nov CTP. It was installed on a fresh installation of Windows Vista Enterprise x64.
 
During setup, I checked the 'Client Tools' box which has the description:
"Includes management and development tools: SQL Server Management Studio, SQL Server Configuration Manager, SQL Server Profiler, and Database Engine Tuning Advisor"
 
The installation ran fine with no errors. After install I looked for the Management Studio but couldnt find it anywhere. No SQL Server Profiler or Database Tuning Advisor either. The only tool that appears to have installed is the SQL Server Configuration Manager.
 
If I check my Start Menu, the only 2008 items that exist are
Microsoft SQL Server 2008 >

Configuration Tools >

SQL Server Configuration Manager
SQL Server Error and Usage Reporting
SQL Server Installation Center
 
I checked the summary log and everythign PASSED:
Package results:
  Passed
Execution statistics:
  Exit code:                     0x00000000
  Exit message:                  Passed
  Package start time:            12/13/2007 14:05:39
  Package end time:              12/13/2007 14:09:06
  Package install location:      c:Program Files (x86)Microsoft SQL Server100Setup Bootstrap
  Package initial action:        Install
  Media source location:         Install
  Media version:                 10.0.1075.23
Machine properties:
  Machine name:                  xxx
  Machine processor count:       2
  OS version:                    Windows Vista
  OS service pack:              
  OS language:                   English (United States)
  OS architecture:               x64
  Process architecture:          32 Bit
Properties provided in package.xml file:
  LegalProductName:              SQL Server Database Services 2008
  Description:                   SQL Server Database Services 2008
  Details:                       Install for SQL Server Database Services 2008
  ProductName:                   SQL2008
  Version:                       10
  SPLevel:                       0
  KBArticle:                     KB876234
  KBArticleHyperlink:            http://support.microsoft.com/?kbid=876234
Command line arguments provided:
  ACTION:                        Install
  INSTANCEIDSUFFIX:             
Product features discovered:
  Product:                       SQL2005
  Product:                       SQL2008
Feature status after execution:
  Database Engine Services: Passed
  Replication: Passed
  Client Tools: Passed
Windows Installer logs generated during execution:
  C:Program Files (x86)Microsoft SQL Server100Setup BootstrapLog20071213_1405T60-l3ac207_20071213_1405_Snac_Cpu64_1.log
  C:Program Files (x86)Microsoft SQL Server100Setup BootstrapLog20071213_1405T60-l3ac207_20071213_1405_Msxml6_Cpu64_1.log
  C:Program Files (x86)Microsoft SQL Server100Setup BootstrapLog20071213_1405T60-l3ac207_20071213_1405_Tools_Cpu32_1.log
  C:Program Files (x86)Microsoft SQL Server100Setup BootstrapLog20071213_1405T60-l3ac207_20071213_1405_SqlWriter_Cpu64_1.log
  C:Program Files (x86)Microsoft SQL Server100Setup BootstrapLog20071213_1405T60-l3ac207_20071213_1405_SqlBrowser_Cpu32_1.log
  C:Program Files (x86)Microsoft SQL Server100Setup BootstrapLog20071213_1405T60-l3ac207_20071213_1405_Sql_Cpu32_1.log

 

What is the issue here?
 

View Replies !
Can't Start Sql Server 2000, Error: &&"use Sql 2005 Management Tools&&" !!!!
hi .everyone !
i have ms visual studio 2005 with sql sever 2005 management tools
 
anyway .. i want to use and install sql server 2000 in this machine .. i tried to install it, but when i tried to connect to the server  .. it gives me this error:
"you must use sql server 2005 management tools to connect to this server"
 
can you help me ? plz !?
 

View Replies !
Using SQL Server Management Studio Tools To Manage Dbs On SQL Server Express Edition
Hopefully a simple question:  Is it possible to use Maintenance Plans created on SQL Server Management Studio (installed as part of an instance of SQL Server 2005 Standard Ed.) to back up databases running on an instance of SQL Server Express Edition with Advanced Services?  I don't need directions, just whether or not it is permitted.
 
I've been able to create the plans including establishing connections to from SSMS to the the SQL Express instance, but they keep erroring out.  I just need to know if this is actually permitted since Maintenance Plans are not available on Management Studio Express Edition.
 
Thank you in advance for your help.

View Replies !
&&"The Feature(s) Specified Are Not Valid For This Edition Of SQL Server&&" Error When Installing Management Tools On Win 2003 X64
I've successfully installed SQL Server 2005 Standard Edition on an Enterprise edition of Windows Server 2003 x64.    I'm now (and also tried & failed during the install of the database engine) attempting to install the "Management Tools" component on the same server.  However, in all my attempts to do so, I receive the following error:

---

The feature(s) specified are not valid for this edition of SQL Server

---

The message box does not list the features that are not valid but since the only item I've selected to install is the "Management Tools" option under "Client Components" it obviously points to something with that.

 

Am I missing something or are the Management Tools not supported in my config - most notably SQL Server 2005 Standard edition running on Windows Server 2003 x64?

 

Thanks.

 

- Lance

 Colorado State University

 

 

View Replies !
MSSQL Management Studio View Editor Destroys Where-Clauses With Date-Functions
 

Hello,
 
i've written the following query:

 

SELECT dbo.KALENDER.KALENDER_ID, dbo.KALENDER.JAHR_BEZ, dbo.KALENDER.JAHR_WERT, dbo.KALENDER.HALBJAHR_WERT,

dbo.KALENDER.HALBJAHR_BEZ1, dbo.KALENDER.HALBJAHR_BEZ2, dbo.KALENDER.QUARTAL_WERT, dbo.KALENDER.QUARTAL_BEZ1,

dbo.KALENDER.QUARTAL_BEZ2, dbo.KALENDER.MONAT_BEZ, dbo.KALENDER.MONAT_WERT, dbo.KALENDER.TAGE_IM_MONAT,

dbo.TAG.KALENDERWOCHE, dbo.TAG.WOCHENTAG, dbo.TAG.TAG, s.STUNDE_ID, s.DATUM_ZEIT

FROM dbo.KALENDER INNER JOIN

dbo.TAG ON dbo.KALENDER.KALENDER_ID = dbo.TAG.KALENDER_ID INNER JOIN

dbo.STUNDE AS s ON dbo.TAG.TAG_ID = s.TAG_ID

WHERE (SELECT MONTH(s.datum_zeit)) = ((SELECT MONTH(GETDATE()))-2)and

(SELECT year(s.datum_zeit)) = (SELECT year(GETDATE()))

order by s.stunde_id
 
 
 
when copying that query to the view editor and executing it, it trys to fix it somehow to:
 

SELECT TOP (100) PERCENT dbo.KALENDER.KALENDER_ID, dbo.KALENDER.JAHR_BEZ, dbo.KALENDER.JAHR_WERT, dbo.KALENDER.HALBJAHR_WERT,

dbo.KALENDER.HALBJAHR_BEZ1, dbo.KALENDER.HALBJAHR_BEZ2, dbo.KALENDER.QUARTAL_WERT, dbo.KALENDER.QUARTAL_BEZ1,

dbo.KALENDER.QUARTAL_BEZ2, dbo.KALENDER.MONAT_BEZ, dbo.KALENDER.MONAT_WERT, dbo.KALENDER.TAGE_IM_MONAT,

dbo.TAG.KALENDERWOCHE, dbo.TAG.WOCHENTAG, dbo.TAG.TAG, s.STUNDE_ID, s.DATUM_ZEIT

FROM dbo.KALENDER INNER JOIN

dbo.TAG ON dbo.KALENDER.KALENDER_ID = dbo.TAG.KALENDER_ID INNER JOIN

dbo.STUNDE AS s ON dbo.TAG.TAG_ID = s.TAG_ID

WHERE ((SELECT MONTH(s.datum_zeit) AS Expr1

FROM ) =

(SELECT MONTH(GETDATE()) AS Expr1) - 2) AND

((SELECT YEAR(s.datum_zeit) AS Expr1

FROM ) =

(SELECT YEAR(GETDATE()) AS Expr1))

ORDER BY s.STUNDE_ID
 
... but this causes syntax-errors. I don't understand why this query works fine in the query editor but then gets automatically "destroyed" by the view editor. Do i have to use more statements to get the working query to run inside a view?
 
Thanks alot for reading.
 
 

View Replies !
Shortcut To Insert New GUID Into Uniqueidentifier Cell In MSSQL Management Studio Express?
Hi,

anyone knows if there's an easy way to insert new GUIDs into uniqueidentifier cells when editing data in table on Management Studio Express? or Visual Studio 2005 Server Explorer? I can't find a shortcut, and copying from external tools is pain..

I suppose it's possible to build a VB macro in Visual Studio, would it work when editing table data?

Thanks in advance!

View Replies !
You Must Use SQL Server 2005 Management Tools To Connect To This Server
Hello,
After installing SQL Server 2005, I get a message stating "You must use SQL Server 2005 management tools to connect to this server", while trying to connect to my localhost using SQL Server 2000 Enterprise Manager.
Regards,
junior

View Replies !
SQL Server 8 And SQL Server 2005 Management Tools In Consistencies
 I have been investigating this issue and here is what I have found, when using SQL Server 8 Query Analyzer the results show that for example xp_regread has Execute permissions granted to €˜public€™ role. When checking the Same using the SQL Server 2005 Management Studio the results show that there are no Execute permissions granted to €˜Public€™ Role.

 

So the following Query doesn't return any results on Management Studio SQL Server 2005:

SELECT sysusers.name
, Status =
CASE protecttype

             WHEN 204 THEN 'GRANT_W_GRANT'

             WHEN 205 THEN 'GRANT'

             WHEN 206 THEN 'REVOKE'

 ELSE 'Unknown'

END

, Permission =

CASE action

             WHEN 193 THEN 'SELECT'

             WHEN 195 THEN 'INSERT'

             WHEN 196 THEN 'DELETE'

             WHEN 197 THEN 'UPDATE'

             WHEN 26 THEN 'REFERENCE'

             WHEN 224 THEN 'EXECUTE'

 ELSE 'Unknown'

END

, sysobjects.name

FROM sysprotects, sysobjects, sysusers

WHERE sysobjects.id = sysprotects.id

AND sysprotects.action IN (193, 195, 196, 197, 224, 26)

AND sysprotects.uid = sysusers.uid

AND sysusers.name = 'public'

AND (sysobjects.name like '%xp_%' OR sysobjects.name like '%sp_OA%')

 

Where as running the Same Query in SQL Server 8.0 Query Analyzer will return results, saying there are a few extended procs available to Public for Execute.

Do you know whats going on here?

Thanks!

View Replies !
[SQL-DMO]You Must Use SQL Server 2005 Management Tools To Connect To This Server
 We have just moved from 2000 to 2005 and ever time I try to open store procedure or function I was getting this error message...
[Microsoft][ODBC SQL Server Drive] To connect to this server you must use SQL Server Management Studio or SQL Server Management Objects (SMO)
So I installed "Microsoft SQL Server 2005 Backward Compatibility Components" from "Feature Pack for Microsoft SQL Server 2005 - April 2006" on the client machine and this resolved the issue. Specifically i installed the "SQL Distributed Management Objects (SQL-DMO) feature .....,
how I am getting following error message
 
 
[SQL-DMO]You must use SQL Server 2005 management tools to connect to this server
 

How can I disabled all other features.
 
Thanks,
 

View Replies !
Backup Strategy - SQL2005 Tools Versus 3rd Party Tools
I am running SQL Server 2005 x64 Enterprise under Windows 2003 x64 Enterprise.  My current backup strategy uses T-SQL jobs run by SQL Agent (writes out *.bak files) and then I have an Integration Services job that copies the *.bak files to our NAS device.  I have performed a restore without issue.  The jobs are all automated every four hours via SQL Agent.  Is this a sound strategy or are there additional benefits to using 3rd party tools?  If so, what are the advantages and which tool provides them?

 

View Replies !
Design Tools / Sql Server Mgt Tools Cause Login Fail
Login failed for user 'TOSHIBA-USERASPNET'
I know that the file persmission for the web application have to include aspnet, so i keep resetting the folder permission for aspnet in file manager, but the login failed keeps coming back every day or two
problem is after working with VS05 Pro, SQL Server Management Studio CTP, somehow the aspnet persmission get changed, use alot of sqldatasource wizards and often there is a conflict/hang between the datasource wizard and the need to have the mdf in a dettached state within VS server explorer,
not sure but the procedure to fix this seems to be to reboot, detach and re-attach the mdf in the Sql server Studio tool, re-apply the aspnet file permission on the web app folders (wonder should i be doing this in IIS instead), make sure the mdf within server explorer is detached, the it works
anyway, getting real tired of the resulting delays and design time derailment, clues greatly appreciated, thanks
 sometimes i can use View in Browser when in VS05 form view and i wont get the aspnet folder permission error and other times i do.
last thing, is it a bad idea to give aspnet full permission for the entire web applicaiton??
 

View Replies !
Server Tools Or Client Tools?
Dear All,
how can we know that wether we had server tools or client tools on my machine?

Arnav
Even you learn 1%, Learn it with 100% confidence.

View Replies !
Tools Tools Tools For Performance ???
Know any good performance monitoring and analysis tools for SQL server.

View Replies !
How Many Result-rows Does Mssql Return Should Be Used Asynchronous Method To Use Mssql Cursor?
How many result-rows does mssql return should be used asynchronous method to use mssql cursor, can get the best performance in any time in any result offset?

i want to make the cursor fast in any time whatever how many results returned

View Replies !
Database Migration Plan - (mssql/msde To -&> Pgsql/mssql)
Hi,

i was planning to create a database migration tool ..
its a certain database of a DMS (document management system) to
another DMS (two different DMS)... from DMS using msde 2000 server .. and tranfer to a DMS using a postgre sql or mssql .. depends ..

they have different table structures and names . . :D

i was thing of what language shall i use.. or what language is the best to work on this kind of project :)

hoping for your kind help guys. thanks :)



br
Frozenice

View Replies !
Server Configuration For MSSQL 2000 And MSSQL 2005
Does enabling/disabling Data Execution Prevention have a performanceimpact on SQL 2000 or SQL 2005?For SQL best performance - how should I configure for:Processor Scheduling:Programs or Background servicesMemory Usage:Programs or System Cache

View Replies !
Differenece Between Mssql Sp3 And Mssql Sp4 - Urgent Reply Is Required
is there any differernce between mssql sp3 connection establishment and mssql sp4 connection eslablishment while using java jdk1.4 to connect to...

i want to use com.microsoft.sqlserver.SqlServerDriver driver for connection instead of sun.jdbc.odbc.JdbcOdbcDriver and DNS

View Replies !
Creating Index In MSSQL 2000 From MSSQL 2005
Hi,
 
I am a bit new to the MSSQL server. In our application, we use so many SQL queries. To imporve the performance, we used the Database enigine Tuning tool to create the indexes. The older version of the application supports MSSQL 2000 also. To re-create these new indexes, I have an issue in running these "CREATE INDEX" commands as the statements generated for index creation are done in MSSQL 2005. The statements include "INCLUDES" keyword which is supported in MSSQL 2005 but not in MSSQL 2000.
 
Ex:- 

CREATE INDEX IND_001_PPM_PA ON PPM_PROCESS_ACTIVITY

(ACTIVITY_NAME ASC, PROCESS_NAME ASC, START_TIME ASC, ISMONITORED ASC)

INCLUDE

(INSTANCE_ID, ACTIVITY_TYPE, STATUS, END_TIME, ORGANIZATION);
 

Any help in creating such indexes in 2000 version is welcome.
 
Thanks,
Suresh.

View Replies !
Generating Script For MSSQL 2000 From MSSQl 2005?
Hello
We are using SQL 2005 and now we are planning to use SQL 2000. what are the ways to do the process.
 
We taken the script spcificall for 2000 and run it in SQL 200. But we are getting the error in SCRIPT?
 
Could you please give me the step to do?
 
Thanks,
Sankar R
 

View Replies !
Management Studion Express Alongside Full-blown Management Studio?
Is it possible to run both Sql Server Management Studio: Express and full blown side by side?

I am developing with the full blown product but would like to test Management Studio Express on the same box.
Is this possible?

Thanks

Eric

View Replies !
Run Mssql 6.5 Client And Mssql 7.0 Server On Same Nt Workstaton?
Hello:

I am currently work on mssql 6.5. On my workstation, I have mssql 6.5
cient software.

However, I would like to install mssql 7.0 server on my nt workstation
and work with it to become familiar with 7.0. Can I install mssql 7.0
server on my nt workstation? Can mssql 6.5 client coexist with mssql 7.0
on the same machine if they are in different directories?

Thanks.

David Spaisman

View Replies !
MSSQL Express 2005 Vs. MSSQL 2000
Ben writes "I have a sql script that doesn't function very well when it's executed on a SQL 2000 server.

The scrpt looks like this:


---------------------------------------------------------------------------------------------------
USE [master]
GO
IF NOT EXISTS (SELECT * FROM master.dbo.syslogins WHERE loginname = N'SSDBUSERNAME')
EXEC sp_addlogin N'SSDBUSERNAME', N'SSDBPASSWORD'
GO
GRANT ADMINISTER BULK OPERATIONS TO [SSDBUSERNAME]
GO
GRANT AUTHENTICATE SERVER TO [SSDBUSERNAME]
GO
GRANT CONNECT SQL TO [SSDBUSERNAME]
GO
GRANT CONTROL SERVER TO [SSDBUSERNAME]
GO
GRANT CREATE ANY DATABASE TO [SSDBUSERNAME]
GO
USE [master]
GO
If EXISTS (Select * FROM master.dbo.syslogins WHERE loginname = N'SSDBUSERNAME')
ALTER LOGIN [SSDBUSERNAME] WITH PASSWORD=N'SSDBPASSWORD'
GO
GRANT ADMINISTER BULK OPERATIONS TO [SSDBUSERNAME]
GO
GRANT AUTHENTICATE SERVER TO [SSDBUSERNAME]
GO
GRANT CONNECT SQL TO [SSDBUSERNAME]
GO
GRANT CONTROL SERVER TO [SSDBUSERNAME]
GO
GRANT CREATE ANY DATABASE TO [SSDBUSERNAME]
GO
USE [master]
GO
IF EXISTS (select * from dbo.sysdatabases where name = 'ISIZ')
DROP DATABASE [ISIZ]
GO
USE [SurveyData]
GO
exec sp_adduser 'SSDBUSERNAME'
GRANT INSERT, UPDATE, SELECT, DELETE
TO SSDBUSERNAME
GO
USE [SurveyManagement]
GO
exec sp_adduser 'SSDBUSERNAME'
GRANT INSERT, UPDATE, SELECT, DELETE
TO SSDBUSERNAME
---------------------------------------------------------------


I need to be converted to a script that can be executed on both MSSQL 2000 and MSSQL 2005.

I was wondering if somebody there could help me with this problem?!

Thanks,
Ben"

View Replies !
Migration MSSQL 2000 32-bit To MSSQL 2005 64-bit
I've been tasked to move our production databases on MSSQL 2000 to 2005. I've supported MSSQL since version 6.5 and performed migrations to successor versions.

Current Environment is MSSQL 2000 32-bit with current Service Packs.

I've performed mock migrations on Test servers upgrading all Production instances simultaneously from MSSQL 2000 to 2005 32-bit. The Test environment is identical to Production minus server name, IP etc. Also I have a separate server with MSSQL 2005 installed where I use the DETACH / ATTACH and BACKUP / RESTORE method for migration / acceptance testing. There are approximately 30 databases totaling 70 GB. This has gone as expected and fairly successful. Vendors have been coordinated with to update code and staff for acceptance testing.

I'd prefer going directly to MSSQL 2005 64-bit instead if possible due to memory benefits etc. This is where I'd like some feedback prior to borrowing a 64-bit server for testing.

Upgrade options:

1. Is it better to migrate from MSSQL 2000 32-bit to 2005 64-bit via:
a. DETACH / ATTACH
b. BACKUP / RESTORE
c. Is one method more advantageous relating to the end result?
2. Regarding XP clients, have issues been experienced with the default SQL Server driver or is an alternate recommended for XP clients to connect to a MSSQL 64-bit server databases?
3. If you have performed this migration and have relevant experience please pass them along.

View Replies !
Deploying MSSQL 2005 Express DB To MSSQL 2005 WKGP Errors
DB is developed on local computer with MSSQL 2005 Express. My host is on MSSQL 2005 workgroup. Are they compatible, because I am getting errors? Is my approach wrong?

I have tried several approaches.

A) I created a backup of database on my local, then placed a copy on the server. Then I tried to restore through Server Management Studio. I get this error. 

TITLE: Microsoft SQL Server Management Studio

------------------------------

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

------------------------------

ADDITIONAL INFORMATION:

The backed-up database has on-disk structure version 611. The server supports version 539 and cannot restore or upgrade this database.

RESTORE FILELIST is terminating abnormally. (Microsoft SQL Server, Error: 3169)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=08.00.2039&EvtSrc=MSSQLServer&EvtID=3169&LinkId=20476

------------------------------

BUTTONS:

OK

------------------------------

 

B: I also have tried copying the database. I put it in the same path as the other databases that can be read with server management studio on the server. Then, tried to get to it through server managements studio and it did not appear. So I tried to attach it. Then I received this error:

TITLE: Microsoft SQL Server Management Studio

------------------------------

Attach database failed for Server 'MROACH1'. (Microsoft.SqlServer.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.2047.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Attach+database+Server&LinkId=20476

------------------------------

ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

------------------------------

Could not find row in sysindexes for database ID 10, object ID 1, index ID 1. Run DBCC CHECKTABLE on sysindexes.

Could not open new database 'LodgingDB'. CREATE DATABASE is aborted. (Microsoft SQL Server, Error: 602)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=602&LinkId=20476

------------------------------

BUTTONS:

OK

------------------------------

 C: I have also tried opening the Database, and back up file through Server Management Studio. without success. 

 D: I also tried Windows and Software update at microsoft update, but no updates were recommended for Version on Server.

I'm surprised this is so hard. My original data base was created in same family of software. 2005 MS SQL Express. I could use some direct help from someone experienced with this. Am I doing it wrong or are the DB versions incompatible.

Mark Roach

 

 

 

View Replies !
Conversion Of MSSql 2000 Database To MSSQL 2005 Database
How to convert a database in MSSQL 2000 to MSSQL 2005 database.Is there any tool or documentation available for this?

View Replies !
With Recompile: Mssql 6.5 Vs Mssql 7.0
Hello:

We are now on mssql version 7.0, sp2. The application was upgraded from
mssql 6.5 to mssql 7.0 several weeks ago


Although we are not suppose to do so, two stored procedures were put into
production with the "WITH RECOMPILE' option under mssql 7.0, sp2.

During a nightly run yesterday, these 2 procedures ran extremely slow and
blocked others trying to run other stored procedures. We know why becuase
of the behaviour of the 'with recompile' option.

In researching this, we noticed that Microsoft speaks in mssql 7.0about
the possible slowness if there are 'temp' tables involved here but these 2
procedures do not create or use 'temp' tables.

We removed the 'with recompile' option statements from the two stored
procedures and they ran fine and quickly.

The with recompile was put there because of arithmatic overflows with some
data in . Since we took them out, we will need to get a workaround.
My concerns is:

1) The stored procedures 'with recompile' under mssql 6.5 ran fine but
under mssql 7.0, the stored procedures ran extremely slow. Does any one
have any information on why stored procs with 'with recompile' would run
differently under mssql 6.5 and mssql 7.0?

Any information would be greatly appreciated. Thanks.

View Replies !
GUI Client For MsSQL (was: MSSQL Help)
I have my MSSQL hosted, any interface i can use so i can't connect to the data source?

for Mysql, i know i can use phpmyadmin, or mysql interface.

i have no idea for MSSQL, any advices?

i know there is one, which is Toad, but it has a lots of limitations, any good idea?

thanks.

View Replies !
MsSQL And Php Resources (was: Need Mssql)
Hi,


till now i have used mysql with php.now i want to use mssql with php.my php and apache versions are
php 5.2.3
apache 2.2.4

from where i can get mssql and what i need to run my php scripts with mssql database.iam newbie in mssql.any of your help will be surely appreciated

thanks
mrjameer

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved