tsql
Which database must I install in order to run MSDN's T-SQL examples?
Wh开发者_Go百科ich databse must I install to be able to run examples in the following link: http://msdn.microsoft.com/en-us/library/ms181765.aspx[详细]
2023-04-11 20:27 分类:问答Varchar type and performance issues
I\'m modelling a database and I want to ask about the Varchar type. Is there any performance difference between Varchar(50) and Varchar(100)?[详细]
2023-04-11 20:22 分类:问答SQL Stored Procedure - how do I get a row and use it inside my procedure?
I am not completely sure how to articulate this, so please be sure to ask me to clarify something if it isn\'t clear.Here is what I want to do:[详细]
2023-04-11 20:16 分类:问答Index data that exists in multiple tables
I want to query some data in multiple tables as if it were one table. There are about 10 tables, all with different columns but with 5 matching columns. Ideally I would re-design the tables so that th[详细]
2023-04-11 20:05 分类:问答Any book recommendations for improving my T-SQL kung fu? [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will开发者_StackOverflow like[详细]
2023-04-11 19:39 分类:问答Getting comma separated month for a given from month and to month using recursive CTE
We have requirement where 2 months and 2 years are provided as input. And the result should provide a comma separated month-year all the months b开发者_如何学Goetween the from month-year and to month-[详细]
2023-04-11 19:20 分类:问答SQL Server - Finding bitwise OR values using query
I have a business requirement to search through a database table where one of the columns is a bitwise integer and remove the base values from a table.[详细]
2023-04-11 19:13 分类:问答Formulating TSQL Left Join
I am using SSMS 2008.Should be a simple solution to this.I am trying to pull all records from table A, but only pull in matching records from tables B and C.The problem is that if I left join tables B[详细]
2023-04-11 18:09 分类:问答Checking Date part only, of a DateTime field
I have a query like : SELECT .. FROM ... WHERE ... AND ISNULL(ICA.actual_appearance_date, ICA.scheduled_appearance_date)[详细]
2023-04-11 16:45 分类:问答simple way to select all record that are between two date
are there a simple way to select all record that are between two date. should i use datetime for filed type or i can use string type too. something like this :[详细]
2023-04-11 16:29 分类:问答