Viewing 15 posts - 8,266 through 8,280 (of 13,469 total)
i was looking for real code specifics..CREATE TABLE Category....
and then how you wanted to filter the products:
SELECT * FROM PRODUCTS WHERE CATEGORYID = ....
those details are what i'd need to...
December 29, 2010 at 11:08 am
here's an example using row_number of using that to page information;
if you gave us more details, specifically the actual table schemas, and maybe a sample select statement, we could offer...
December 29, 2010 at 10:09 am
this seems to give me the results i was looking for, it's rather dawn out into CTE's to show all the logic and can be easily shortened up, but i'm...
December 23, 2010 at 1:43 pm
this seems to wrok for me; if i put it on a table that has FK's pointing to it, the constraints for the FK are enforced before the trigger fires.
CREATE...
December 23, 2010 at 7:10 am
since you said you are building a string, this is probably what you want for a demo:
CREATE TABLE IDDemo
( pk_ID Integer IDENTITY(1,1)
, Textdata Varchar(100) )
DECLARE @sql varchar(max)
declare @tablename varchar(30)
SET @sql...
December 22, 2010 at 5:01 pm
Don i think your EXC command needs to do everything all together; you can separate commands with a semi colon, which is rumored to be mandatory in a future version...
December 22, 2010 at 4:33 pm
JStevenson1 (12/22/2010)
I have several value in a column called test.Select Statement: Select Test From Abc
Output: JonDoe
Desired Output: 'JonDoe'
How do I achieve desired output?
so the only difference is you want...
December 22, 2010 at 2:22 pm
based on Sean's post, i think if you join the grouping back to the original table, you can at least see the dupes :
SELECT #mx.bid_price_old, #mx.* FROM #mx
LEFT OUTER JOIN...
December 22, 2010 at 2:15 pm
I have this appllicaiton in my PortableApps collection: it finds keys for 2000/2005/2008, and ifg you know where the key to anything is stored, you can add it to the...
December 22, 2010 at 8:53 am
Elliott Whitlow (12/22/2010)
December 22, 2010 at 8:10 am
it has to do with your function...if you did not use WITH SCHEMABINDING in the definition, i'm sure the function is non-deterministic, and thus any column that uses the function...
December 22, 2010 at 5:44 am
SSMS uses the extended stored procedures master.dbo.xp_sqlagent_monitor and master.dbo.sys.xp_servicecontrol to stop and start the services for the agent or the service on the server.
those procs are called without...
December 21, 2010 at 1:20 pm
Geoff A (12/21/2010)
it is based on windows level permissions. local security and domain security policies.
users in...
December 21, 2010 at 1:03 pm
only a sysadmin has the ability to start and stop the server via SSMS; so do not give their login sysadmin and you are all set; just make them a...
December 17, 2010 at 1:49 pm
Kricky (12/17/2010)
When I ran that query, I didn't get any results returned, so I will just let it finish. Thanks Adiga.
kill it! kill it with fire!
it doesn't matter what...
December 17, 2010 at 12:47 pm
Viewing 15 posts - 8,266 through 8,280 (of 13,469 total)