sql-server-2008
How to compare a DATETIME to a VARCHAR date that can have different lengths?
In SQL Server 2008 R2, I have to compare two dates of birth from different tables. column C.date_of_birth is of type DATETIME[详细]
2023-04-12 21:47 分类:问答Reading Data Pump Task in DTS without having source and destination environment
I am working开发者_如何学运维 on migrating a DTS package which contains a oledb source (but we dont have access to the source), a olebd destination (but we have access to the dest.) and a DATA Pump Ta[详细]
2023-04-12 21:31 分类:问答Entity Framework / SQL Server strange decimal division behaviour
I have a table in my SQL server 2008 R2 database which includes two nullable decimal(16,6) columns.Let\'s call them column1 and column2.[详细]
2023-04-12 21:30 分类:问答Distinct across similar records in SQL Server 2008 database
I have a SQL Server 2008 database. This database has a table called Product, Order, and OrderProduct. These three tables look like the following:[详细]
2023-04-12 20:34 分类:问答Convert SQL Server T-SQL wide result to readable text format
I have the f开发者_如何学Goollowing T-SQL (SQL Server 2008) and I need to email the result using database mail.[详细]
2023-04-12 20:18 分类:问答Image Path using T-Sql
i am newbie in sql server, my requirement is i want to get the image p开发者_StackOverflowath from the database field, but stuck what could be the query can anyone out there help me with this.[详细]
2023-04-12 19:46 分类:问答SQL Server 2008 subquery with error. Still works the main query
Ok, maybe I\'m a noob in sql, but I can\'t figure out why this should work: I\'ve Table1 like: IDRecord (PK), Description, IDTable2 (FK)[详细]
2023-04-12 19:29 分类:问答Query using If sentence
I need to make a query to validate the date of crop planting, and crop harvest. From the table \"Clt_Sembrado\", depending of the code of cultivation in table Clt_Desglose[详细]
2023-04-12 19:27 分类:问答LINQ lambda syntax for SQL subquery + count(distinct on one column)
How would I write the following SQL query in lambda-notation LINQ? select \'myString\', count(distinct val)[详细]
2023-04-12 19:14 分类:问答Join Last Record Based on TimeStamp
I have a access log, which records usernames and a timestamp at various points in the application. I want to see if I can approximate the amount of time they are spending in the application. Basically[详细]
2023-04-12 19:12 分类:问答