Viewing 15 posts - 6,706 through 6,720 (of 13,469 total)
fully consumable, copy and paste example:
CREATE TABLE [dbo].[tbl_Purchase] (
[Purchase_id] bigint ...
September 23, 2011 at 7:50 am
dilip.aim11 (9/23/2011)
i sent sample data.... Plse Check this..Thnks
that's not sample data....
what we need is "consumable" data...copy and paste into SSMS, run it, so we have a setup that mimicks the...
September 23, 2011 at 7:43 am
Since this is your first post, let me try and give you an example of what we really need to help you, just like Gianluca suggested
i ran this thru...
September 23, 2011 at 7:36 am
prakash 67108 (9/23/2011)
Hi,Is it possible to find last modified date of the table and previous structure of the table after it is altered...?
Thanks
you can get the last modified date if...
September 23, 2011 at 6:20 am
we use compound IF EXISTS commands to make sure that a table we KNOW exists....well exists...
(if it's our version of a database)...
it eliminates issues where the IF NOT EXISTS...CREATE TABLE...
September 22, 2011 at 2:29 pm
techzone12 (9/22/2011)
There probably needs to be some sort of...
September 22, 2011 at 2:23 pm
Elliott Whitlow (9/22/2011)
If you chose to use the code from codeplex and have any trouble let me know, I am the author.CEWII
Elliot that is a really nice project, and was...
September 22, 2011 at 1:54 pm
well, "instance" is a keyword for SQL server, do you mean two installations of SQl server on the same physical machine, or do you mean two separate servers, both with...
September 22, 2011 at 1:37 pm
here's a tested, working model you could use;
it takes multipel inserts into consideration,and sends the email from within the trigger.
so if say, 5 rows were isnerted in a single INSERT...
September 22, 2011 at 11:56 am
a CTE is just a subquery to get sample data out so people can see and test it themselves(since you did not provide the CREATE TABLE...INSERT INTO we need)
it's...
September 22, 2011 at 10:53 am
sp_database isn't a built in procedure, it must be one that your group added;
i'm guessing that 8704 is the number of pages but i'm not sure without seeing the...
September 22, 2011 at 9:46 am
does this work for you?
based ont he sample data you posted, this works:
;With emp (empid,createddate,job)
AS
(
SELECT '1','2011-01-01','db' UNION ALL
SELECT '1','2011-01-01','db' UNION ALL
SELECT '1','2011-02-01','db' UNION ALL
SELECT '2','2011-01-01','db' UNION ALL
SELECT '3','2011-01-01','db')
select empid
from emp
where...
September 22, 2011 at 8:32 am
create a new login, for example "WebAccess", then add a user to the database the web pages will access.
create a role for the appropriate rights,a nd finallly , put WebAccess...
September 22, 2011 at 8:27 am
ok check this out please.
this has worked correctly on all 5 of my tables which happen to have picutres/images in either image datatypes or varbinary(max) datatypes.
i could correctly guess the...
September 22, 2011 at 8:12 am
forsqlserver (9/22/2011)
The developers have sa priviledge on 1 server , they usually stop the sqlserveragent service and due to which the nightly backup jobs fail.
Can it be possible to stop...
September 22, 2011 at 6:25 am
Viewing 15 posts - 6,706 through 6,720 (of 13,469 total)