Viewing 15 posts - 10,516 through 10,530 (of 13,469 total)
i'd do it almost the same as the thetodaisies,just changed it to be ready for more dates to exclude:
valuedate NOT IN('20070731','20070724' )
September 18, 2009 at 6:18 am
way to go for posting the test data!
the trick is to join the table against a copy of itself.
the join condition is the orderlineid's must equal, but the statusID for...
September 18, 2009 at 6:09 am
i fiddled with COLLATE but couldn't find anything that works, so i reverted to a tally table to test true/false for High Ascii characers.
someone might have a better solution, but...
September 17, 2009 at 12:23 pm
uogmsmith (9/17/2009)
September 17, 2009 at 11:55 am
sample data below, i was trying LIKE '%[^A-Z,a-z] %' but that's not working for me yet; still playing
create table names(
namesid int identity(1,1) not null primary key,
TheName nvarchar(60) )
insert into names(TheName)
SELECT...
September 17, 2009 at 10:55 am
also SQLRecon; it uses a combination of different techniques to find all the registrations, their versions, and more...even identifies blank "sa" password installations.
September 17, 2009 at 10:41 am
yeah with my method, it requires some disipline to create an extended property for all objects subject to versioning; it's a bit of a pain sometimes. if there's no current...
September 17, 2009 at 10:33 am
this might help:
if you have a stored procedure that returns a resultset, wether one row or a million rows, you have to define a table(probably a temp table) to capture...
September 17, 2009 at 9:27 am
the only way i could think of doing this was with a check cosntraint and a user defined function.
if you could have provided more details, we could have helped with...
September 17, 2009 at 9:08 am
you cannot create a table on the fly across a linked server. the select into...from tries to do that.
you can only insert into tables that exist.
so INSERT INTO ...
September 17, 2009 at 5:19 am
I've used extended properties for this purpose; then i can test if the extended property has the desired value before decinding to allow a script to run or not.
[here's an...
September 16, 2009 at 3:09 pm
you get the best results here if you provide full details(if you can), the CREATE TABLE, the specific condition(THIS column changes, affect THIS OTHER column)
here's an example which *I Think*...
September 15, 2009 at 11:16 am
so you need to generate just under a million rows;
here's how i did it:
DECLARE @StartRange BINARY(8)
DECLARE @EndRange BINARY(8)
SET @StartRange = 0x00000004A500114B
SET @EndRange = 0x00000004A50F11FF
--select convert(integer,+ @EndRange)...
September 15, 2009 at 9:11 am
Nice solution, Jonathan;
only thing i thought is he might want the preceeding zeros for comparison, if he needs the values as flags?
for example the value 2 returns "10",where he might...
September 15, 2009 at 9:03 am
ok here's one way:
i'm assuming you want it in the same format i see when i do ipconfig/all
pairs of [0-9,A-E] with dashes:
cross joining the widget below against a row-number derived...
September 15, 2009 at 8:31 am
Viewing 15 posts - 10,516 through 10,530 (of 13,469 total)