Viewing 15 posts - 2,551 through 2,565 (of 8,761 total)
sarwar.ali490 (12/11/2016)
I got a requirement to validate multiple conditions in a given string.Eg STRING is a 30 byte key.I have to check
1.Length is >10 and
2.susbtring(1,6) in(e.g..123456,67892) and
3.if susbrting(1,6)=123456...
December 12, 2016 at 1:59 am
December 12, 2016 at 1:54 am
Ed Wagner (12/11/2016)
Eirikur Eiriksson (12/11/2016)
spectra (12/11/2016)
I have two files i.e .ldf and .mdf in my disk. As we know these are normally SQL Server database...
December 11, 2016 at 9:14 am
spectra (12/11/2016)
I have two files i.e .ldf and .mdf in my disk. As we know these are normally SQL Server database log and data files....
December 11, 2016 at 6:51 am
Can you post the full code for the stored procedure please?
😎
December 10, 2016 at 10:11 pm
ptownbro (12/10/2016)
December 10, 2016 at 9:46 pm
Quick example of an inline calendar CTE, you should be able to adjust it to your requirements.
😎
USE TEEST;
GO
SET NOCOUNT ON;
DECLARE @DateRanges TABLE
(
StartDate DATE,
EndDate DATE
)
INSERT INTO @DateRanges (StartDate,EndDate) VALUES ('2016-12-01','2016-12-01')--2016-12-01
INSERT INTO...
December 10, 2016 at 9:43 pm
Try to keep it as simple as possible, not only is the logic more readable, it also helps the performance.
😎
December 10, 2016 at 8:39 pm
SQLUSERMAN (12/10/2016)
To me the query for the above requirements would be as...
December 10, 2016 at 1:51 pm
In SQL, one cannot use this kind of a where clause, if using multiple values it will have to be a sub query
😎
where Sales.SalesTerritory.[Group] in (@Sales.SalesTerritory.[Group])
should be something like
where...
December 10, 2016 at 1:29 pm
swarun999 (12/9/2016)
select sales.SalesTerritory.TerritoryID , sales.SalesTerritory.Name , sales.SalesTerritory.CountryRegionCode,
sales.SalesTerritory.[Group] ,
sales.SalesTerritory.SalesYTD, year(sales.SalesTerritoryHistory.StartDate) as [Year]
from sales.SalesTerritory join...
December 9, 2016 at 11:04 pm
savibp3 (12/9/2016)
December 9, 2016 at 10:13 am
ChrisM@Work (12/9/2016)
Eirikur Eiriksson (12/9/2016)
ChrisM@Work (12/9/2016)
Brandie Tarvin (12/9/2016)
rodjkidd (12/9/2016)
ChrisM@Work (12/8/2016)
rodjkidd (12/7/2016)
I'm about a 20 minute walk to the High Holborn Caffe 1882. Let me know if you still want to meet...
December 9, 2016 at 10:10 am
ChrisM@Work (12/9/2016)
Brandie Tarvin (12/9/2016)
rodjkidd (12/9/2016)
ChrisM@Work (12/8/2016)
rodjkidd (12/7/2016)
I'm about a 20 minute walk to the High Holborn Caffe 1882. Let me know if you still want to meet up today?
Chris, are...
December 9, 2016 at 9:52 am
avi7070 (12/9/2016)
It would be better to schedule FULL, DIFF, and TLog backups for production server databases. As you are not using any not using any high availability technique.
For Point in...
December 9, 2016 at 3:48 am
Viewing 15 posts - 2,551 through 2,565 (of 8,761 total)