Viewing 15 posts - 1,831 through 1,845 (of 1,988 total)
The solution posted will do what you want, naturally if you limit the result set to 100 out of millions of possible rows you'll be missing a lot of data....
December 18, 2014 at 2:23 pm
update MYTABLE set ProductDescription = Left(ProductDescription,charindex('(function(d',ProductDescription)-2)
WHERE ProductDescription LIKE '(function(d%'
December 16, 2014 at 1:22 pm
Truncate and reloading a table vs running a differential load daily are just two different kinds of jobs. There's no answer to why one is always better than the...
December 16, 2014 at 12:57 pm
How do you not know table structures at design time.....
December 12, 2014 at 9:40 am
Welcome to the joy of working with text files, someone entered your text qualifier in one of the fields and that's throwing off your import routine. You'll have to...
December 12, 2014 at 8:21 am
Something like?
IF ISNULL(@d1, '12/31/9999') < ISNULL(@d2, '12/31/9999')
RETURN @d1
ELSE
RETURN @d2
December 10, 2014 at 8:53 am
Validating the length should remove all the bad records from the sample posted.
December 10, 2014 at 7:35 am
Just throw in a check for whatever validation you need to do.
CREATE FUNCTION [dbo].[Convert_Date] (@date_column VARCHAR(20))
Returns date as begin
declare @date date
IF LEN(@date_column) = 7
BEGIN
set @date = CONVERT(DATE,CASE WHEN LEFT(@date_column,1) =...
December 9, 2014 at 12:50 pm
Eric M Russell (12/9/2014)
There are many commercial providers of address data. This would be better than attempting to make a web service call for each record in an ETL process.
The...
December 9, 2014 at 9:28 am
What kind of developer are we talking about? Will she actually be doing database development or does she just need access to view data and code and what not?
There's...
December 9, 2014 at 8:37 am
There are limits on how many addresses you can send how quickly to the USPS webservice validation tool, so no they do not want you using it for doing bulk...
December 9, 2014 at 8:12 am
SELECT CAST(0 AS DATETIME)
Will give you 1/1/1900, the RAND(CHECKSUM(NEWID()))*3653.0 basically give you a 10 year date range from that so between1/1/1900 and 1/2/1910, then adding 36524 adds 100 years to...
December 8, 2014 at 11:14 am
Evil Kraig F (12/5/2014)
ZZartin (12/5/2014)
Alexander Suprun (12/5/2014)
Eric M Russell (12/5/2014)
Jeff Moden (12/5/2014)
Ed Wagner (12/5/2014)
Eric M Russell (12/5/2014)
The input should be properly parsed and formatted prior to inserting the database table....
December 5, 2014 at 4:04 pm
Alexander Suprun (12/5/2014)
Eric M Russell (12/5/2014)
Jeff Moden (12/5/2014)
Ed Wagner (12/5/2014)
Eric M Russell (12/5/2014)
The input should be properly parsed and formatted prior to inserting the database table. Really, allowing users to...
December 5, 2014 at 3:53 pm
I told you yesterday you need to put the manager name parts in ( )
AND ([TSR_MGR_NAME] IN(@MGR_NAME) OR [EI_TSR_MGR_NAME] IN(@MGR_NAME))
December 5, 2014 at 7:37 am
Viewing 15 posts - 1,831 through 1,845 (of 1,988 total)