Monday, March 19, 2012
[SQLSTATE 42000] (Error 8525)
Question : [SQLSTATE 42000] (Error 8525)
When run the Management \ Jobs , I get the Error Message [SQLSTATE 42000] (Error 8525)
Please help me to explain the Error Message , thanks a lot
is it talking to SQL 7 Server via linked server as per below by any chance ?
http://support.microsoft.com/default...b;en-us;834849
Andy.
"Pon" <Pon@.discussions.microsoft.com> wrote in message
news:EC00A4A2-5FE7-42E3-B12A-16167980CF65@.microsoft.com...
> Product : SQL2000
> Question : [SQLSTATE 42000] (Error 8525)
> When run the Management \ Jobs , I get the Error Message [SQLSTATE 42000]
(Error 8525)
> Please help me to explain the Error Message , thanks a lot
[SQL2005] equivalent to the SQL 2000 taskpad view in Management St
I just installed SQL 2005, and I am looking for the information about my
file usage, as I was able to see in the taskpad view with SQL 2000.
Could you help me on this please ?
Thanks in advance,
Regards,
Vincent
Hello Vincent,
There is no Taskpad in SQL Server 2005. There are Reports instead.
Go to a database and right click on it. You'll see Reports\Standard
Reports\Disk Usage.
I know this looks slower and do not have other stuff (tasks) in it, however
this is the new thing instead of Taskpad in SQL Server 2005.
Ekrem ?nsoy
"Vincent D." <VincentD@.discussions.microsoft.com> wrote in message
news:313F2B87-34F4-4A2F-9DB4-E268DC4B4424@.microsoft.com...
> Hello,
> I just installed SQL 2005, and I am looking for the information about my
> file usage, as I was able to see in the taskpad view with SQL 2000.
> Could you help me on this please ?
> Thanks in advance,
> Regards,
> Vincent
|||Hello Ekrem,
Thanks for your help.
My problem is that I have a Siebel database, and I cannot use the 9.0 mode,
I must stay in 8.0 mode. And in 8, I can't see the Disk Usage Report

Do you know any workarround ?
Thanks in advance,
Regards,
Vincent
"Ekrem ?nsoy" wrote:
> Hello Vincent,
> There is no Taskpad in SQL Server 2005. There are Reports instead.
> Go to a database and right click on it. You'll see Reports\Standard
> Reports\Disk Usage.
> I know this looks slower and do not have other stuff (tasks) in it, however
> this is the new thing instead of Taskpad in SQL Server 2005.
> --
> Ekrem ?nsoy
>
> "Vincent D." <VincentD@.discussions.microsoft.com> wrote in message
> news:313F2B87-34F4-4A2F-9DB4-E268DC4B4424@.microsoft.com...
>
|||Well, nope for the Reports, sorry. However you can use sp_spaceused sp to
see space info about your db.
Also, you can see the space info from the database properties.
Ekrem ?nsoy
"Vincent D." <VincentD@.discussions.microsoft.com> wrote in message
news:3E011161-4597-4F78-94A6-15FBA9E7A9CC@.microsoft.com...[vbcol=seagreen]
> Hello Ekrem,
> Thanks for your help.
> My problem is that I have a Siebel database, and I cannot use the 9.0
> mode,
> I must stay in 8.0 mode. And in 8, I can't see the Disk Usage Report

> Do you know any workarround ?
> Thanks in advance,
> Regards,
> Vincent
> "Ekrem ?nsoy" wrote:
|||Hello Ekrem,
I have SQL Server 2005 sp2 and my database is in 9.0 mode. On right
click I don't see Reports. I do see reports on Summary window. What is
a difference between standard reports and performance dashboards. I
now that for performance dashboards you need to have a SP2 on your
server and I sow that some servers without sp2 have reports on the
Summary window.
Ognjen
Ekrem nsoy wrote:[vbcol=seagreen]
> Hello Vincent,
> There is no Taskpad in SQL Server 2005. There are Reports instead.
> Go to a database and right click on it. You'll see Reports\Standard
> Reports\Disk Usage.
> I know this looks slower and do not have other stuff (tasks) in it, however
> this is the new thing instead of Taskpad in SQL Server 2005.
> --
> Ekrem nsoy
>
> "Vincent D." <VincentD@.discussions.microsoft.com> wrote in message
> news:313F2B87-34F4-4A2F-9DB4-E268DC4B4424@.microsoft.com...
|||Hello!
There is no Reports in SQL Server Management Studio Express.
You must be using SSMSE to connect to your SQL Server instances so you can't
see Reports when you right click on your databases. You need SSMS to see
Reports menu when you right click on a database.
I encourage you to see the following link to learn more about Performance
Dashboard Reports:
http://www.microsoft.com/downloads/details.aspx?FamilyId=1d3a4a0d-7e0c-4730-8204-e419218c1efc&displaylang=en
Ekrem nsoy
"OgnjenT" <OgnjenT@.gmail.com> wrote in message
news:e6c35d61-2ee9-4b76-9286-dbb9e5f83ac2@.i12g2000prf.googlegroups.com...
Hello Ekrem,
I have SQL Server 2005 sp2 and my database is in 9.0 mode. On right
click I don't see Reports. I do see reports on Summary window. What is
a difference between standard reports and performance dashboards. I
now that for performance dashboards you need to have a SP2 on your
server and I sow that some servers without sp2 have reports on the
Summary window.
Ognjen
Ekrem nsoy wrote:[vbcol=seagreen]
> Hello Vincent,
> There is no Taskpad in SQL Server 2005. There are Reports instead.
> Go to a database and right click on it. You'll see Reports\Standard
> Reports\Disk Usage.
> I know this looks slower and do not have other stuff (tasks) in it,
> however
> this is the new thing instead of Taskpad in SQL Server 2005.
> --
> Ekrem nsoy
>
> "Vincent D." <VincentD@.discussions.microsoft.com> wrote in message
> news:313F2B87-34F4-4A2F-9DB4-E268DC4B4424@.microsoft.com...
|||Hopefully, Siebel finally validated the usage of the 9.0 mode !

;-)
"Ekrem ?nsoy" wrote:
> Well, nope for the Reports, sorry. However you can use sp_spaceused sp to
> see space info about your db.
> Also, you can see the space info from the database properties.
> --
> Ekrem ?nsoy
>
> "Vincent D." <VincentD@.discussions.microsoft.com> wrote in message
> news:3E011161-4597-4F78-94A6-15FBA9E7A9CC@.microsoft.com...
>
|||Hello,
I am using Sql Server 2005 developer edition and I am not using SSMSE
but SSMS.
Ekrem ?nsoy wrote:[vbcol=seagreen]
> Hello!
> There is no Reports in SQL Server Management Studio Express.
> You must be using SSMSE to connect to your SQL Server instances so you can't
> see Reports when you right click on your databases. You need SSMS to see
> Reports menu when you right click on a database.
> I encourage you to see the following link to learn more about Performance
> Dashboard Reports:
> http://www.microsoft.com/downloads/details.aspx?FamilyId=1d3a4a0d-7e0c-4730-8204-e419218c1efc&displaylang=en
> --
> Ekrem ?nsoy
>
> "OgnjenT" <OgnjenT@.gmail.com> wrote in message
> news:e6c35d61-2ee9-4b76-9286-dbb9e5f83ac2@.i12g2000prf.googlegroups.com...
> Hello Ekrem,
> I have SQL Server 2005 sp2 and my database is in 9.0 mode. On right
> click I don't see Reports. I do see reports on Summary window. What is
> a difference between standard reports and performance dashboards. I
> now that for performance dashboards you need to have a SP2 on your
> server and I sow that some servers without sp2 have reports on the
> Summary window.
> Ognjen
> Ekrem ?nsoy wrote:
|||I don't have the RTM version of SSMS on my test machines so I can't be sure
of that... Did you apply SP2 to your Client Tools (which includes SSMS)?
Ekrem ?nsoy
"OgnjenT" <OgnjenT@.gmail.com> wrote in message
news:9957500e-940d-46fb-8d2a-f549e243aa51@.r29g2000hsg.googlegroups.com...
Hello,
I am using Sql Server 2005 developer edition and I am not using SSMSE
but SSMS.
Ekrem ?nsoy wrote:[vbcol=seagreen]
> Hello!
> There is no Reports in SQL Server Management Studio Express.
> You must be using SSMSE to connect to your SQL Server instances so you
> can't
> see Reports when you right click on your databases. You need SSMS to see
> Reports menu when you right click on a database.
> I encourage you to see the following link to learn more about Performance
> Dashboard Reports:
> http://www.microsoft.com/downloads/details.aspx?FamilyId=1d3a4a0d-7e0c-4730-8204-e419218c1efc&displaylang=en
> --
> Ekrem ?nsoy
>
> "OgnjenT" <OgnjenT@.gmail.com> wrote in message
> news:e6c35d61-2ee9-4b76-9286-dbb9e5f83ac2@.i12g2000prf.googlegroups.com...
> Hello Ekrem,
> I have SQL Server 2005 sp2 and my database is in 9.0 mode. On right
> click I don't see Reports. I do see reports on Summary window. What is
> a difference between standard reports and performance dashboards. I
> now that for performance dashboards you need to have a SP2 on your
> server and I sow that some servers without sp2 have reports on the
> Summary window.
> Ognjen
> Ekrem ?nsoy wrote:
Tuesday, March 6, 2012
[MS Sql] Data type nvarchar
I'm using SQL Server Management Studio Express.
I'm trying to create a field which contains a text entered by the user. So, it should be able to contain at least 500 characters.
I used the type "nvarchar(MAX)". The problem is that the type contains about 50 characters max!!
I couldn't find out where and how to fix that.
If you have any idea :)
Thanks a lotType over the the MAX with the desired length of 500.|||Hi tmorton
Of course I tried nvarchar(500) (forgot to tell that). But it's not working either.
It sounds like nvarchar(MAX) is the max length type, and limited to about 50...
Thanks for your reply. And if someone has any idea :)|||That's all it takes from the SQL Server end. If you are only managing to store 50 characters in that column, then I would venture a guess that your data is being truncated before it hits the database. What does your code look like that is adding the data to your table?|||I believe that SQL Management Studio truncates text that it displays. Use something else to view/edit the column.|||Hi
It's weird, it's working now. And yet I didn't change anything particular. Maybe a "bug" on SQL Server... weird though. Thanks a lot to you guys :)
Friday, February 24, 2012
[Help] Schedule a Query
Hi. I'm a 17 year-old who is hosting a server for an online game. To store the game's data, I am using SQL Server 2005 and SQL Server Management Studio Express.
I wrote the following Query:
UPDATE Items
SET ItemID=('25')
WHERE ItemID=('200001')
It's purpose is to change an item in a player's inventory into a different item.
I would like to know how to set this Query to be executed automatically every couple of minutes. Let's say every 5 minutes.
I believe SQL 2000 had a Scheduler; but, I cannot find this in SQL 2005.
Thanks for reading this.
SQL 2005 Express does NOT have a 'scheduler' (SQL Agent).
However, read in Books Online about using SQLCmd.exe, the command line tool that will allow you to execute a stored procedure.
Combine that with Windows Scheduler, and you can reasonably 'automate' SQL code (or stored Procedures) to run on schedule.