Viewing 15 posts - 11,701 through 11,715 (of 13,460 total)
excellent!
that helps a lot, thanks. I can script and test agaisnt your example data now.
but what about the business logic?
what makes the record "e001 ...
Lowell
January 28, 2009 at 7:25 am
not enough information;
what makes the record e001 A valid,
and the e001 I...
Lowell
January 28, 2009 at 7:12 am
OK in another shameless adaptation of Tally examples, I'll attempt to get Jeff Moden some more recognition.
Here is a propercase function based on the Tally table. here I'm checking for...
Lowell
January 27, 2009 at 12:08 pm
Typically, you want to use a Tally or Numbers table to "fill in the gaps" for sequences or dates.
I couldn't get my mental arms around your example to change this...
Lowell
January 27, 2009 at 11:43 am
lol I'm on the ball today...rare for me
Lowell
January 27, 2009 at 11:07 am
SELECT CONVERT(VARCHAR,@YOURDATECOLUMN,101),HOUR(YOURDATECOLUMN)
FROM YOURTABLE
group by CONVERT(VARCHAR,@YOURDATECOLUMN,101),HOUR(YOURDATECOLUMN)
Lowell
January 27, 2009 at 10:56 am
403 is web page permissions....
maybe you can FTP or SFTP to your server? since it's a web page error, i assume your other server is remote over the internet and...
Lowell
January 27, 2009 at 10:50 am
back up the database, zip, transfer to the new server, unzip and restore is sure to be the fastest way as well as the most dependable;
transfering over the wire, for...
Lowell
January 27, 2009 at 10:39 am
my absolute favorite posts to read are the ones where they say "urgent" in the title.
they are invariably from a poster who just joined, has less than 5 posts, and...
Lowell
January 26, 2009 at 10:14 pm
As Jeff said, chances are whatever you were going to do, you could do it in tSQL;
outside of that, you can use sp_OACreate to run vbscripts, or an executable, or...
Lowell
January 26, 2009 at 9:05 pm
SQL server doesn't bother with changing data tytpes when it sees integer divided by integer...it returns an integer value.
change so that your 2 is 2.0:
RETURN 2.0/(@Period + 1.0))
Lowell
January 26, 2009 at 9:02 pm
Follow with what Jeff And Lynn said; repalce with an int where isnumeric is true:
UPDATE YOURTABLE SET Login = Convert(varchar,CONVERT(INT,Login)) Where IsNumeric(Login) =1
the rows like 'jc4444' will not be...
Lowell
January 26, 2009 at 10:27 am
by using a Tally or Numbers table, you could insertall the items, with the proper qty's in in a single statement:
CREATE TABLE #TEMP (QTY INT, ORDERITEM VARCHAR(30),MORESTUFF VARCHAR(30) )
INSERT INTO...
Lowell
January 26, 2009 at 5:55 am
there was a different thread on zipcodes here where i posted a text file to a bunch of zip code/city/state stuff...are you just trying to get a list of all...
Lowell
January 23, 2009 at 7:54 pm
since current_timestamp is a variable, it really doesn't matter which table you get it from;
by same question, you mean from a linked sql server?
i did select top 1 current_timestamp from...
Lowell
January 23, 2009 at 7:49 pm
Viewing 15 posts - 11,701 through 11,715 (of 13,460 total)