Viewing 15 posts - 10,501 through 10,515 (of 13,461 total)
bpowers (9/21/2009)
September 21, 2009 at 8:56 am
admin is on the right track;
i think you might need to start with a base table of all users, then join it to this table to generate your list;
something like:
Select...
September 21, 2009 at 8:31 am
OK, I don't think i would ever implement something "automatic" like this, because I strongly beleive that scripts have to be tested more than once to make sure they are...
September 21, 2009 at 6:31 am
also note you cannot have a GO statement inside your IF statements BEGIN /END block...
your example for part one would not be valid, it would have to be like this:
IF...
September 19, 2009 at 8:58 am
definitely a permissions issue;
there's several ways to set up how to get to the view, and it depends on how it's set up.
in my example below, because i decided...
September 18, 2009 at 11:51 am
In my opinion, functions are OK if you are getting a single row of data. but if you are getting more than one row, a functions should be replaced with...
September 18, 2009 at 10:39 am
does wrapping it in brackets help? plus it needs to be a 4 part name...server.database.owner.object:
does this work:
SELECT * FROM [VSMIADBGP01].[LPB_GreatPlainsUtils]..[vwADB_LPB_CONSOLIDATED_ACCOUNT_DIV_DEPT_BRANCH_YEAR_2009]
--or
SELECT * FROM [VSMIADBGP01].[LPB_GreatPlainsUtils].[dbo].[vwADB_LPB_CONSOLIDATED_ACCOUNT_DIV_DEPT_BRANCH_YEAR_2009]
September 18, 2009 at 9:13 am
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
Viewing 15 posts - 10,501 through 10,515 (of 13,461 total)