Viewing 15 posts - 4,651 through 4,665 (of 6,036 total)
If you remind yourself normalization rules you'll see the design is wrong.
No tools can help here.
_____________
Code for TallyGenerator
December 16, 2006 at 12:25 pm
December 15, 2006 at 10:54 pm
If you connect to SQL Server as "sa" then the only name you can catch is "sa". This is the user running queries.
If you want to know the user name...
_____________
Code for TallyGenerator
December 14, 2006 at 11:45 pm
I support Robert.
What you really need is UDF to split your strings into proper set of Version, Subvirsion, etc.
Then you may order by parts.
_____________
Code for TallyGenerator
December 14, 2006 at 4:35 pm
If you could explain the logic of your sorting in plain English...
_____________
Code for TallyGenerator
December 14, 2006 at 2:07 pm
SELECT ReportCol
FROM (
select PL, NULL as SEQUENCE, PLDescription as ReportCol
FROM
(
--Select all Items from MAS200 excludeing then ones that are Web Exclude
SELECT dbo.IM1_InventoryMasterfile.ItemNumber as ItemNumber,...
_____________
Code for TallyGenerator
December 13, 2006 at 9:27 pm
Next time start from BOL.
_____________
Code for TallyGenerator
December 13, 2006 at 7:22 pm
Use sp_MSforeachdb
_____________
Code for TallyGenerator
December 13, 2006 at 7:21 pm
SELECT ReportCol
FROM (
select PLNumber, NULL as SEQUENCE, PLDescription as ReportCol
FROM {YOUR TABLES}
GROUP BY PLNumber, PLDescription
UNION
select PLNumber, ItemNumber, ItemNumber
FROM {YOUR TABLES}
) DT
ORDER BY PLNumber, SEQUENCE
_____________
Code for TallyGenerator
December 13, 2006 at 6:53 pm
Simple question:
How many columns you expect in returning resultset?
_____________
Code for TallyGenerator
December 13, 2006 at 6:12 pm
Take Robert's solution as a sample and build the script dynamically.
_____________
Code for TallyGenerator
December 13, 2006 at 3:14 pm
Right-click on database in EM.
Select All Tasks -> Generate SQL Script.
Read attentively and choose items carefully.
_____________
Code for TallyGenerator
December 13, 2006 at 3:10 pm
For job to fail a step inside this job must fail.
Create a new step for sending SMS.
Set this step to be executed only on another step failure.
_____________
Code for TallyGenerator
December 13, 2006 at 1:28 am
I meant not what you meant but what sql 2005 fan meant.
Hope you followed who meant what. ![]()
_____________
Code for TallyGenerator
December 12, 2006 at 11:25 pm
Viewing 15 posts - 4,651 through 4,665 (of 6,036 total)