|
Hi, I want to debug a stored proc on our server but the database contains close to 30k stored procs. So when I press the expand button on the server explorer pane I have to wait for at least 30 minutes before VS unfreezes... This is getting quite annoying...
Out of these 30k stored proces around 95% are useless to me so I would like to filter them by their names.
All the ones I don't want start with 'zDP_'.
Do you know if there is a way to apply a filter before pressing the +?
Alternatively, is there another tool I could use to debug my stored procs?
We are running SQL Server 2005.
Thanks
Fred
modified on Tuesday, May 27, 2008 12:30 PM
|
|
|
|
|
hi everybody
I created a website with SQL express database in server explorer, everything is going just fine and now I want to upload the site and the database to the internet so that my customer can test it.
The server on which I want to upload my site to requires me to upload a .mdf file to the server, I searched my computer for the mdf file but I couldn't find it.
Any help please?
Thanks
And ever has it been that love knows not its own depth until the hour of separation
|
|
|
|
|
we have a database publishing wizard to do so search google and download it
If You win You need not Explain............
But If You Loose You Should not be there to Explain......
|
|
|
|
|
hi friends
i have a server that installed o it a sql server 2000
i want to create a connection to the database on this sql server.
my server name is (local);
when i try to login into my database from query analyzer:
i type "(local)" instead of server name and username and password of a auser that i created for login to database.
its worked correctly.
but when i try to do this action from my home pc, an error appear that contanis below message:
"Sqlserver does not exist or access denied."
i enter my server ip instead of "(local)" in my query analyzer from my home pc.
now how can i login to my database from my home pc????
what do i enter server name ? an ip address or else???
please help me
nobody help you...
you have to help you yourself
and this is success way.
|
|
|
|
|
(local) only works if you are logged in locally to the machine where the instance of SQL Server is installed. You will probably need to use the IP address of the machine from home, unless you have some way to resolve the hostname (like if you are logged in thru a VPN). Then you can type in your username and password into QueryAnalyzer just like you would if you were on the machine locally.
|
|
|
|
|
Video:
http://www.microsoft.com/hk/webcast/default.aspx?sid=211[^]
SQL server 2008 will help enable information technology to drive business intelligence throughout the organization. All your saved data could be easy to analyze and present by reports and charts for you to study the trends and make the right business decision.
|
|
|
|
|
Thanks for sharing!
The latest version looks good; I am considering upgrade to this 2008 version.
|
|
|
|
|
How can i pass the parameters to triggers?
|
|
|
|
|
You don't. The trigger has all the data from the insert/update/delete in special tables called inserted and deleted. Google triggers and yuo will find plenty of examples.
Hope this helps
Bob
Ashfield Consultants Ltd
|
|
|
|
|
hi..
can anybody tell me using c#.net to create advanced search like all words, anywords, and exact word, if i have to search in 5-6 tables, means if i give "red" in search text box then how can i search red in 5-6 tables and i dont know which column contains the word red.
|
|
|
|
|
Check this[^]
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
|
|
|
|
|
Actually , i am making a car website like cars.com, and i have seen in cars.com they allow search on keywords, I too want to implement that feature but how can i, bcoz i have normalized the features of car into 5-6 tables and i want to search it in that 5-6 tables.
|
|
|
|
|
Hi friends..
1. I want to know abot SQL SERVER Security(Logins, Server Roles, Credentials) under particular server.
2. And about security(users, Roles, Schemas) under particular Database.
Plz let me know detailed explanation with example.
Regards
Willington D
D.Willington
|
|
|
|
|
Try BOL or Google, its too big a subject to answer in a forum - there are loads of articles and advice out there.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Hi
I was searched with google for sql security..., but i didn't get any usefull topics.., they were confused me. Thats y i posted this query.., If u have any articals plz.. let me know the URL.
Regards,
Willington D
D.Willington
|
|
|
|
|
If you cannot find a simple enough article to explain SQL security then perhaps you would be better off employing someone who does understand it to set up the security on your system. The saying 'a little knowledge is a dangerous thing' is very applicable to security.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
To big a topic to give "detailed explanation with example", and well - that would also mean I'd do your work for you.
So I'll simply say that you should read the SQL Server documentation, some books about SQL Server administration (SQL Server 2005 Administrators Companion provides a chapter on it) and "online books" from MSDN.
|
|
|
|
|
Hello Friends
I want Sql Server 2005 to work in a LAN
Please let me know how to configure it
Thanks
If You win You need not Explain............
But If You Loose You Should not be there to Explain......
|
|
|
|
|
Could you be more specific about what you're struggling with?
If your network is up and running and your software firewalls are on both Server and Clients are set up correctly, you shouldn't be having any trouble.
It's really straight forward in most cases.
|
|
|
|
|
Hi,
am trying to upsize certain tables in MS Database to SQL.I tried the upsizing wizard,but for certain tables its giving me errors like "unable to drop table".
Is their any stored procedures which will help us to upsize the ables to SQL?
|
|
|
|
|
Create the tables in SQL then import the data from the MDB.
If you have multiple tables with constraints, either import the data in the correct order, or temporarili remove the constraints.
|
|
|
|
|
Im using sql2005
Im trying to export my DB to another server
The problem is with dependencies
The Generate Scripts option really sucks, i cant beleive this is the best that a bunch of guys at microsoft can come up with
It scripts SP1, before tables referenced by SP1, and it only gets worst when trying to export the whole DB
What are you guys using to export your DB to a remote server??
Ive tried scriptio already but it doesnt export data and doesnt care at all about dependencies
Ive also tryed microsoft publishing wizard, but its as bad as the Generate Scripts
Please advice, i cant be wasting days just to export my DB
When i was using sql2000, the scripts where generated with only one error in a view referencing a view that hadnt been created yet, but now with sql2005, man...I cant beleive it, errors everywhere
Thanks in advance
Alexei Rodriguez
|
|
|
|
|
AlexeiXX3 wrote: The Generate Scripts option really sucks, i cant beleive this is the best that a bunch of guys at microsoft can come up with
No it isn't, so stop bitching about it!
Sorry - I have this thing today where I see a lot of people bitching about Microsoft when the problem lies with their own ignorance.
AlexeiXX3 wrote: What are you guys using to export your DB to a remote server??
Personally, I tend to backup the database, then restore it on the other server. But if you want a scripting option then there is a tool downloadable from the Microsoft website: Microsoft SQL Server Database Publishing Wizard 1.1[^]
AlexeiXX3 wrote: When i was using sql2000, the scripts where generated with only one error in a view referencing a view that hadnt been created yet, but now with sql2005, man...I cant beleive it, errors everywhere
Stop bitching about it! It is really irritating. I almost didn't help you because I was getting so damned pissed off with you. Yes, Microsoft has faults, but this is not one of them. The tool I linked to is really rather good and a heck of a lot better than what you got in SQL Server 2000.
|
|
|
|
|
Thanks for the reply, sorry i bothered you
I wish i could just copy my DB and atach it in the destination server, but i cant
Colin Angus Mackay wrote: Personally, I tend to backup the database, then restore it on the other server. But if you want a scripting option then there is a tool downloadable from the Microsoft website: Microsoft SQL Server Database Publishing Wizard 1.1[^]
I had tryed this tool before, this doesnt care about dependencies, it does script schema, data or both, but the problem is when i try to execute it, i get errors, because of SPs referencing Tables that havent been created or views calling views that havent been created
Sincerely, doesnt this suck?? Didnt the guys who programmed this think about it???
Does a real app have 4 tables and 1 SP and no reference between tables?? I dont think so.
Why didnt at least, the script is generated grouped by object type, NO, IT does mix it all: Tbale, view, sp, table, sp,...
What happens when one has many views and SPs??
Does one have to go one by one adding them?
This is what i think sucks
Alexei Rodriguez
|
|
|
|
|
AlexeiXX3 wrote: the problem is when i try to execute it, i get errors, because of SPs referencing Tables that havent been created or views calling views that havent been created
But if you try and use these SPs and views anyway they won't work. Why do you have a database that is broken in this way? When you see a dependency that doesn't exist, don't you get some sort of feeling that you want to fix it. I know I do.
AlexeiXX3 wrote: Why didnt at least, the script is generated grouped by object type, NO, IT does mix it all
That is what it says it does. It is operating within its design parameters. It is meant as a way of dumping everything in one script. It makes the descision on how best to do that.
Seriously, the only problem I've ever had with that tool is when I have varbinary(max) columns that contianed a large amount of data. I tracked the problem down to a limitation on SQL as a language rather than the tool.
AlexeiXX3 wrote: doesnt this suck?? Didnt the guys who programmed this think about it???
AlexeiXX3 wrote: This is what i think sucks
You still have a bit of anger going on here. I'm sure the folks that developed it gave it a lot of thought. I've met some of the product groups in Microsoft (although not the SQL guys I admit) and they do genuinely put a lot of effort into what they do. They give things a lot of thought and consideration. There ultimate creation may not be perfect for our particular situation but it does fit with what they've designed it for and they are always striving to improve things. Heck their vision for C# isn't there yet and it is all due to time constraints more than anything else. They have deadlines to work to and they have to get stuff out the door in a certain time frame so they have to make compromises and put stuff off to the next version. I'm sure that happens with the software you write also, it certainly happens with just about everybody I've ever spoken to.
|
|
|
|