|
It can be usefull looking at someone elses procs (minus the BOL overkill), some of the MS sample databases are a good start (have not looked at one in years).
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
i tried to install SQL Server 2005 in my laptop with Vista home version, i also download SP2 package to update it. but still have problem,can anyone tell me if I need to install other package? thanks
|
|
|
|
|
What is the actual problem?
|
|
|
|
|
after I update sqlserver2005SP2, it said cannnot coonect to server...and later I cannot find sql serevr management studio icon and others ( previsouly I could see that when I finished installation)
|
|
|
|
|
|
i guess the problem is with IIS, i tried to enable that in control panel, but when I start to install, still one warning telling me IIS feature not found.
should i download a IIS 7 package and install it? if yes, where I can find that to download? thanks
|
|
|
|
|
This is just a warning. If you don't have IIS, you won't be able to use SQL Server's native XML Web Services. This doesn't affect Management Studio, which can be used without IIS.
|
|
|
|
|
Hi, i understand the concept behind the physical crystal report, i struggle with the vb code behind that.
For example...I have a table with customer details...i want to have a textbox on my aspx page where you can input a certain surname or a range...like between A and D...to display on the report
I struggle with the code...can you please help me!!! I have looked at quite a few tutorials but every tutorial does something else....please help!
If you can maybe give me a step by step explanaition on what everything must happen in the code....or give me a sample application that i can study?
|
|
|
|
|
Hi,
not sure if I understood your question correctly, but if you want to filter records by a user given value then:
- add a parameter field into the report (using field explorer)
- add a criteria to the report based on parameter field by using Record Selection Formula Editor
|
|
|
|
|
I had install ms sql server 2008 over a m/c which has a network connection too. but I'm unable to access this from remotly. in 2005 we just provide the remote connections allow (in connection property). But how to allow remote access in sql server 2008 ?
please help on this.
Thanks
rajram
raj
|
|
|
|
|
Using Sql Server Configuration Manager, check that you have appropriate protocols enabeld and correctly configured.
Mika
|
|
|
|
|
Hello All;
I have a SQL db that collects environmental data. As it gets larger the performance of the server suffers. So I think that I would like to copy the "working" db to a new db then purge the working db. The be able to run querrys that span the databases.
I don't know just enough about SQL server to be dangerous so I would like to do this using VB.net
As an example.
If we backed up the db monthly and renamed them. then would it later be possible to run querry's that spanned the db's.
1. Is this a doable concept?
2. Would I?
"Drop" the working db
Copy all the data from the working db to a new db
Purge the tables in the working db
Just looking for some conceptual help here to make a plan to do this. Any help or guidence you could give be would be greatly appreciated.
tia
Rafone
Statistics are like bikini's...
What they reveal is astonishing ...
But what they hide is vital ...
modified on Tuesday, August 26, 2008 10:35 AM
|
|
|
|
|
If you are using SQL Server 2005 (or 2008) have a read about partitioned tables, this may be the answer to your performance problems.
Whatever you decide, DON'T try and do it in VB.net, you could well end up losing all your data!
Bob
Ashfield Consultants Ltd
|
|
|
|
|
You could use Replication to copy your working DB to another server and use that for all querying. SQL Server offers good replication capabilities for offline processing.
|
|
|
|
|
Helo,
Can anybody help me!
I have 3 tables
first 1 have a header table with one row
the second table are all the data records
and the third is a trailer table!
So now i want to create 1 file
with all the fields of the header table separated through ;
then new line, the data table with the fields separated through ;
and finally the trailer table with fields separated through ;
i think i can do this with Bcp utility or something like this,
but i don't know how!
Please help!
Thank you
|
|
|
|
|
You can create a SQL statement giving you correct result set and then save the result to a file.
Use UNION and concatenate all fields from a table to a single field using desired separator
Mika
|
|
|
|
|
Ok, thank you but i want to put this in a stored Procedure...
So i can call it from out of a program!
A.
|
|
|
|
|
Well, you have several options
You can use BCP (with a stored proc or a select) and a format file to create an output file, but this relies on ALL rows having the same number of fields
You can use the idea of concatonating the fields together with your delimiter and use this query in your bcp with effectively a single field per rocord
You can just read the data into your program and write the file yourself.
Try Goggling for format files in bcp
There are probably other ways too, but I can't be bothered to do your job any more...
Bob
Ashfield Consultants Ltd
|
|
|
|
|
It doesn't matter. You can return the result set from procedure almost like you can return it from SELECT statement so wrapping the statement into procedure is ok.
|
|
|
|
|
What is the difference between Sql Server 2000 and Sql Server 2005
Thnx
|
|
|
|
|
One was released in 2000 and the other in 2005.
On a serious note, there are thousands of articles dedicated to this on the internet. All it needs is a simple search.
|
|
|
|
|
HI,
For this question please refer google because so many difference are there and i can't tell them on this forum then also i ll tell you from programmers point of view.
Error Handling :
In sqlserver 2005:
Addition of TRY/CATCH allows more mature error handling. More error_xx functions can gather additional information about errors.
In sql server 2000:
Limited to checking @@error, no much flexibility.
Language:
in sql server 2005:
All the power of SQL Server 2000 with the addition of CTEs for complex, recursive problems, enhanced TOP capabilities, PIVOT/APPLY/Ranking functions, and ROW_NUMBER.
in sql server 2000:
SQL Language enhanced from previous versions providing strong data manipulation capabilities
Hope this will help you
Reasons are not Important but Results are Important.
Swati Tripathi
|
|
|
|
|
For starters:
SSRS
SSMS
SSIS
“If we are all in agreement on the decision - then I propose we postpone further discussion of this matter until our next meeting to give ourselves time to develop disagreement and perhaps gain some understanding of what the decision is all about.”-Alfred P. Sloan
|
|
|
|
|
|
Are you seriously that dumb that you cannot use Google? I suggest getting away from any career using computers right now.
Blog link to be reinstated at a later date.
|
|
|
|