Could some body suggest some good books and online resources for:
1. T-SQL Intermediate level/Advanced
2. SQL Server 2005
Thanks a bunch
Csharplearner
Hi,
Here are some links:
T-SQL/SQL Server Books - List of books with customer reviews
sqlCould some body suggest some good books and online resources for:
1. T-SQL Intermediate level/Advanced
2. SQL Server 2005
Thanks a bunch
Csharplearner
Hi,
Here are some links:
T-SQL/SQL Server Books - List of books with customer reviews
sqlThe SQL Server Books Online was working installed on my workstation fine until this morning. Now when I open it up it does not show me T-SQL reference with all the commands and functions. Yesterday I was on the MSDN website using the Books Online. Could some pointers in the program been corrupted? I have uninstalled and reinstalled Books Online to no avail.
Please help.
Thanks,
Fred
Hi Fred,
When you open Books Online on your local machine, do you see a Contents tab (typically located on the left-hand side of the page)? If no, click the Contents option on the top tool bar. This should reopen the Contents tab that has been closed or hidden.
2. If that doesn't resolve your problem, can you please provide more information. For example, can you find T-SQL Reference topics by using the Index or Search tabs?
Regards,
Gail
|||Hi Gail,
Yes, the Contents tab is there. When I expand "SQL Server 2005 Books Online" entry in the Contents tab and then expand "SQL Server Language Reference" it shows only "Transact-SQL Reference". It used to show more. Then when I expand "Transact-SQL Reference" it only shows "System Tables (Transact-SQL)". It used to list all the statements and functions.
Thanks,
Fred
|||Hi Fred,
Okay, this sounds like maybe a filter was accidently set that is limiting the returned topics. At the top of the Contents tab, there's a "Filtered By" drop down box. Make sure the filter is set to either 'unfiltered' or 'SQL Server 2005', or 'SQL Server Database Engine'.
That should resolve the problem, but if it doesn't let me know.
Gail
|||Hi Gail,
Thanks, that fixed the problem.
Fred
Hi Can anyone suggest me a good book on T-SQL for SQL Server 2005? I preferably need both a Hardcopy and a softcopy (any link which covers in depth T-SQL for YUKON will do). Same for Hardcopy also.
Thanks in Advance
Shaun
I haven't actually read it, but the O'Reilly books are generally very good, and they have released on one SQL 2005:http://www.oreilly.com/catalog/progsqlsvr/
Also, Microsoft has some good books and courses online:
http://msdn.microsoft.com/sql/learning/default.aspx
HTH|||
For me Books OL is enough for all T-SQL questions and syntax issues.
I was looking for some good book for 2k5 but not many books are out yet.
|||? I don't think any are out yet. Itzik Ben-Gan and a couple of others have two books coming out in a few months, from Microsoft Press (part of the "Inside SQL Server" series). You might have to make due with BOL until that one is released. -- Adam MachanicPro SQL Server 2005, available nowhttp://www..apress.com/book/bookDisplay.html?bID=457-- <Shaun Michael@.discussions.microsoft.com> wrote in message news:3049dd63-4c3c-42a8-9e31-57ee97c32f4e@.discussions.microsoft.com... Hi Can anyone suggest me a good book on T-SQL for SQL Server 2005? I preferably need both a Hardcopy and a softcopy (any link which covers in depth T-SQL for YUKON will do). Same for Hardcopy also. Thanks in Advance Shaun|||I've seen some books out, including the one in the link above. Some were out in Novemeber, but not official ones.|||? I'm not sure what you mean by "official". The only official documentation is Books Online. I don't recommend the book in my signature because the coverage of T-SQL isn't all that deep -- we covered the new features only. Aside from the four books targetted at the beta editions (Beauchemin et al, Otey, DeBetta, and Scalability Experts), all of the other books currently on the market are targetted at RTM, as far as I'm aware. -- Adam MachanicPro SQL Server 2005, available nowhttp://www..apress.com/book/bookDisplay.html?bID=457-- <Shughes@.discussions.microsoft.com> wrote in message news:879be8bc-3533-4242-a45d-fc56a35ec105@.discussions.microsoft.com...I've seen some books out, including the one in the link above. Some were out in Novemeber, but not official ones.Hi,
can anyone help ,me out here with some design consideration reguarding importing of BLOB data to a SQL server 2000 using T-SQL statements?
I want to make an import of some documents which are stored in a Access database, to an Ms SQL server 2000. The documents are stored in the access database as a OLE Object, by now I thought of using the base64String function to convert the data from the access field and write it to the T-SQL statements which will written in a text batch file. And then I apply the SQL Convert function something like:
INSERT INTO testBin VALUES(convert(image,'base64sting_encoded'))
go
Does this work? Is it correct what I am doing?
Thanks.
one rule i remember about handling blob
is that it needs to be on a separate filegroup to avoid
fragmentation
|||
Access OLE Object column data goes directly into image in SQL Server. So I am not sure why you are doing the convert and it may not really produce the correct results. See below links for more details on Access migration:
http://www.microsoft.com/technet/prodtechnol/sql/2000/Deploy/accessmigration.mspx
http://www.microsoft.com/sql/solutions/migration/default.mspx
See the link below for some great information on when to store BLOBs in the database:
http://research.microsoft.com/research/pubs/view.aspx?type=technical+report&id=1089
|||that was also what i have in mind though i hesitate to sayI'm creating a query that filters on a bit field that I'm using to represent a boolean value. My query looks something like this:
SELECT * FROM MYTABLE WHERE ACTIVEORDER = 1
And that query works okay--I get all records where 'active order' is true.
Here's my problem--I'd like to make this query more readable by using TRUE or FALSE, instead of 1 or 0. I thought that I had read in BOL that T-SQL can convert the string values TRUE and FALSE to 1 and 0. But I can't get that to work in my query.
Is there a way to use TRUE and FALSE as the filter value for a bit field in a T-SQL query, rather than 1 and o? If so, what does the query look like? Thanks.
AFAIR no, it's not possible. Moreover, I highly recommend you not to mix different languages - it is only confusing. In other words, your query may look more readable for you, but it may look completely enigmatic for another one at the same time.|||Thanks--that makes sense. Just for my own curiousity, any idea why T-SQL doesn't have a boolean type?|||Why, it has - a bit type is perfectly suitable for such a role--Sure there's a way to make it more readable.
--Just put this at the top of the query:
declare @.True bit,@.False bit
select @.True = 0, @.False = 0
--then use:
select * from MyTable where ActiveOrder = @.True
--Sorry, I fat-fingered this query. The below is corrected:
declare @.True bit,@.False bit
select @.True = 1, @.False = 0
--then use:
select * from MyTable where ActiveOrder = @.True
|||So, this works when BOTH True and False are equal to zero?
|||
select @.True = 0, @.False = 0
--then use:
select * from MyTable where ActiveOrder = @.True
Ennor wrote:
there may be some strictly defined things in ANSI SQL which MSFT has to follow.
None of the SQL Standard says BOOLEAN is one of the datatype in your database.
It says,
1. The value True/False are reserved words as per ANSI Standard
2. Boolean is not a valid datatype for your Table/SQL quries
3. Boolean/Truth values should be TRUE | FALSE | UNKNOWN
4. You can't use the TRUE/FALSE on your query.
|||You can try
select case when activeorder=1 then 'TRUE'
case when activeorder=0 then FALSE'
end
from mytable
|||Sorry, I fat fingered that one:
select @.True = 1, @.False = 0
sql,bit data type