Viewing 15 posts - 2,791 through 2,805 (of 6,036 total)
Run this:
select EmpCode
from tblEmpCodes
where cancelled is NOT NULL
AND EmpCode IS NULL
_____________
Code for TallyGenerator
October 20, 2008 at 2:06 pm
First you need to convert csv to table variable.
Search this site for "split" or "parse" function, there are plenty of them.
Then you join that table variable to the static table:
select...
_____________
Code for TallyGenerator
October 17, 2008 at 4:24 pm
Karthik,
I can give you set of other "variable limitations".
For example:
SELECT * FROM @Table
SELECT Value as @ValueName
GROUP BY @Column
etc.
All these are actually cases of misuse of language elements typical for beginners.
What...
_____________
Code for TallyGenerator
October 17, 2008 at 2:50 am
You should left-click on the database first.
_____________
Code for TallyGenerator
October 17, 2008 at 2:18 am
If you are using 2k you may click on DB in EM, then right-click and select View-Taskpad.
Tell us what it will show you.
_____________
Code for TallyGenerator
October 17, 2008 at 12:54 am
October 17, 2008 at 12:32 am
You may do normal BACKUP LOG, it will remove pages from LOG file as well.
Just make sure you direct backup to some network drive, because backup file takes space for...
_____________
Code for TallyGenerator
October 17, 2008 at 12:31 am
karthikeyan,
limitation is not in variables, limitation in your knowlege of the language.
Not sure about juniors, but even medium level developers (developers, not system engineers) suppose to know the difference between...
_____________
Code for TallyGenerator
October 16, 2008 at 9:51 pm
October 16, 2008 at 9:24 pm
Are you prepared to have all your "B100"to be replaced with "B980"?
Because you want to replace "B10" with "B98".
So, B100 as B10+0 will be replaced as B98+0 = B980.
_____________
Code for TallyGenerator
October 16, 2008 at 9:15 pm
@@NESTLEVEL depends on where you call your INSERT from.
If it is from a procedure called by a procedure called by ....
You know.
_____________
Code for TallyGenerator
October 16, 2008 at 9:10 pm
EXEC (@SQL1 + @SQL2 + SQL3 + ...)
_____________
Code for TallyGenerator
October 15, 2008 at 11:09 pm
There is a trick for you:
IF Object_ID('tempdb..#Inserted_trg_StaticSiteMenuTopLevelMenu') IS NOT NULL
RETURN
ELSE
CREATE TABLE #Inserted_trg_StaticSiteMenuTopLevelMenu (ID int)
Table will be created when the trigger is called...
_____________
Code for TallyGenerator
October 15, 2008 at 8:38 pm
Quickest UPDATE would be drop the table and create a view with the same name to return calculated values based on look-up criteria.
_____________
Code for TallyGenerator
October 15, 2008 at 1:30 pm
Do BACKUP LOG.
_____________
Code for TallyGenerator
October 13, 2008 at 4:55 am
Viewing 15 posts - 2,791 through 2,805 (of 6,036 total)