Viewing 15 posts - 61 through 75 (of 86 total)
if you are using sql server managemnt studio.. And u want to create basic tables.. coding is not required.. u just have to play with the tool.. google how to...
--Pra:-):-)--------------------------------------------------------------------------------
February 12, 2013 at 10:38 am
ID Hid Hid Name ...
--Pra:-):-)--------------------------------------------------------------------------------
February 12, 2013 at 9:55 am
Ahh... That makes it more clear.. Now try it again Poornima..!!:-)
--Pra:-):-)--------------------------------------------------------------------------------
January 24, 2013 at 1:36 pm
Final result: SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server Setup.
I can see this msg...
--Pra:-):-)--------------------------------------------------------------------------------
January 24, 2013 at 7:58 am
I believe u should also have thorough understanding on relationships and length, size of the variables. They cost u a lot when it comes to the performance.
--Pra:-):-)--------------------------------------------------------------------------------
January 22, 2013 at 11:23 am
The culprit is here.
CONVERT(varchar(20),+ 'pol_id)'
Exactly, it says the same.. But I couldn't find where it is.. Am i supposed to write the whole convert function dynamically???
--Pra:-):-)--------------------------------------------------------------------------------
January 22, 2013 at 11:15 am
Sean, Have a look at my complete code
USE msdb
declare @dbname varchar(50);
declare @sql nvarchar(MAX)='';
declare @AsOfDate datetime = convert(datetime, '12/31/2012');
declare @orgid int = 0;
declare @assets money = 0.00;
declare @liabilities money = 0.00;
declare...
--Pra:-):-)--------------------------------------------------------------------------------
January 22, 2013 at 11:12 am
Poornima,
That might be because of the partially or wrongly installed programs of Mgmt studio you tried before.. Go to control panel and try to uninstall all the previous...
--Pra:-):-)--------------------------------------------------------------------------------
January 22, 2013 at 11:01 am
Thankyou for sharing the information.... I figured it today... 🙂
--Pra:-):-)--------------------------------------------------------------------------------
January 17, 2013 at 9:12 am
Any better replies?????
--Pra:-):-)--------------------------------------------------------------------------------
January 16, 2013 at 2:10 pm
SQLRNNR (1/16/2013)
Add the query to a SQL Agent Job. Schedule the job to run nightly.
I couldn't figure out how do i add a query to sql server agent and...
--Pra:-):-)--------------------------------------------------------------------------------
January 16, 2013 at 2:04 pm
Thanks for the information. Yes the recipients are all aware, This is just to send them one or two column query results so that they can work on the effected...
--Pra:-):-)--------------------------------------------------------------------------------
January 16, 2013 at 12:54 pm
Now How do I do it automatically evrynight.. I dont have to run the query again and again
It should run by its self at the end of the day...
--Pra:-):-)--------------------------------------------------------------------------------
January 16, 2013 at 12:09 pm
USE msdb
GO
EXEC sp_send_dbmail @profile_name='prathibha',
@recipients='prathibha_aviator@abc.com',
@subject='Unbalanced Accounts',
@body='',
@query='select * from CNAccounting_Joliet_2013.dbo.employee',
@execute_query_database= 'CNAccounting_Joliet_2013',
@attach_query_result_as_file= 1,
@query_attachment_filename= 'Results'
Is this right??? My intention is just to give the query results as an attached file
--Pra:-):-)--------------------------------------------------------------------------------
January 16, 2013 at 11:47 am
So My data base is DB1
I have some 120 tables in that
I have one particular table which is oraganization
My job is to run a query "select * from organization"
and the...
--Pra:-):-)--------------------------------------------------------------------------------
January 16, 2013 at 11:02 am
Viewing 15 posts - 61 through 75 (of 86 total)