Viewing 15 posts - 406 through 420 (of 1,109 total)
Amit,
do you have control over the original stored procedure? I.e. can you rewrite it as a function (either scalar if it returns a single value or table returning function?)
Regards,
...
February 27, 2008 at 4:41 am
jaguarxj12l (2/27/2008)
I had the original database scripted into a create script, had some Find and Replace actions executed, ran the script and got myself a new database....
February 27, 2008 at 4:29 am
jaguarxj12l (2/27/2008)
I need to prefix an underscore to all the tablenames and fieldnames in an SQL2005 database. Can I create a script that does this for me? Please help!
If you...
February 27, 2008 at 2:37 am
And one more thing for the purists 🙂 Using SELECT to assign variables in not part of the SQL standard. For some it does matter 🙂 Though sometimes using SELECT...
February 26, 2008 at 9:39 am
Or, if you need the data from the second table as a list, you can do that too on SQL Server 2005 like:
CREATE TABLE A ( a INT, b INT...
February 26, 2008 at 7:56 am
Please only disable the nonclustered indexes. If you disable the clustered index, you will not be able to access the table.
Regards,
Andras
February 26, 2008 at 4:56 am
reg (2/26/2008)
I have this Index too... and one more questions about that. Is this necessery when I have the clustered [ObjectID+PocketPCID] index? Will a search without the...
February 26, 2008 at 4:20 am
Because the column you are updating is part of the clustered index, the update will be a delete followed by an insert. If you are in full recovery mode, this...
February 26, 2008 at 4:11 am
Oops, I should learn to type faster 🙂
Anyway, setting it to Autmatic will ensure that it is started every time.
Regards,
Andras
February 26, 2008 at 2:53 am
Ian is right, the most frequent reason for the above error is that the SQL Browser Service is not running when you try to connect to a named instance with...
February 26, 2008 at 2:50 am
sp_executesql can be parameterized. This is an advantage when you are executing the same statement meny times but with different parameter values. In this case, the execution plan for the...
February 26, 2008 at 2:36 am
The new features are summarized on https://connect.microsoft.com/SQLServer/content/content.aspx?ContentID=5470
There are many new features, so it depends on what you need. If you store large files in SQL Server, migrated from Oracle and...
February 25, 2008 at 7:42 am
And something for the future, if you will move to SS2008 🙂
I like using select statements when initializing a large number of freshly declared variables. This results in fewer lines...
February 25, 2008 at 1:48 am
terrence_daniels (2/22/2008)
Application Vendor, Application Name, Version, MS Vista Compatible, Confirmation, Contact, Region,
Business Area, Comments, Unique Identifier.
When I attempt to run the following...
February 25, 2008 at 1:35 am
terrence_daniels (2/22/2008)
I presumed that I did not need a primary key since I only have one table. T SQL what is that exactly:discuss:
T-SQL is a language which you can use...
February 22, 2008 at 8:53 am
Viewing 15 posts - 406 through 420 (of 1,109 total)