Viewing 15 posts - 271 through 285 (of 314 total)
Please tell us what you want the select statement to do. Do you want to display range? If so then it has to be in Select Clause not in "Having"....
September 5, 2006 at 10:31 am
Eddie is right Unicode doesnot affect DateTime field. If you want date to be displayed in different format use Conver function
Thanks
Sreejith
September 5, 2006 at 10:19 am
If you store this in a column thats datetime you will have 1/1/1900 as the Datepart.
Thanks
Sreejith
September 5, 2006 at 9:57 am
If you just want the time part or just the date part to be stored then you need to make that column it a varchar or char column. If you...
September 5, 2006 at 9:50 am
Can you create triggers on the table and store audit records in Audit table? If so then that should solve your problem.
Thanks
Sreejith
September 4, 2006 at 6:46 pm
The way we've set up auditing is to Create a local windows group and put Global group (which has all the domain users) and grant the loacl group execute permission...
September 4, 2006 at 6:41 pm
If the job doesnot send emails then do u know what account starts the SQL Agent and can that account send emails?
Hope this helps.
Thanks
Sreejith
September 4, 2006 at 6:37 pm
If its SQL backup have ever tried SQL Maintenance Jobs cos u can set it to back up and delete backups that are older than any number of days that...
September 4, 2006 at 6:33 pm
You should always try avoiding cursors. And here is how u can do it.
select tblExtract.fintCostCentreID, tblExtract.fvchProductFamily,
'80000165' as [Schedule], (sum(tblExtract.fdecHours) / fintCostCentreIDHours.fltTotal) * 100 as [Value], ftntPeriod, fintYear
from tblExtract INNER...
September 4, 2006 at 6:28 pm
Can you please explain the problem with giving us the code?
Are you trying to display RCONE if row count is 1 and RCTWO if its greater than 2 (How...
September 4, 2006 at 6:19 pm
Create a NT User Group
Assign the application users to the NT User Group
Create login in the SQL for the NT User Group and grant access to the DB
Grant execute on...
September 3, 2006 at 3:26 pm
Assuming a Customer can have multiple accounts and accounts have multiple xaction its 1 to many Customer to account and 1 to many accounts to Transcation.
September 3, 2006 at 3:20 pm
To use multiple files I would take the "Copy Excel" out of DTS and into stored procedure as xp_cmdshell. In the SP the process will loop through and copy the...
September 3, 2006 at 3:16 pm
Good Catch..Didn't think about it.
Thanks
Sreejith
September 3, 2006 at 3:08 pm
Viewing 15 posts - 271 through 285 (of 314 total)