Click here to Skip to main content
15,914,500 members
Home / Discussions / Database
   

Database

 
GeneralRe: Creating a dynamic date parameter in a SQL Reporting Services subscription Pin
Wendelius14-Nov-08 10:12
mentorWendelius14-Nov-08 10:12 
AnswerRe: Creating a dynamic date parameter in a SQL Reporting Services subscription Pin
Alexandru Serban30-Dec-09 9:08
professionalAlexandru Serban30-Dec-09 9:08 
GeneralRe: Creating a dynamic date parameter in a SQL Reporting Services subscription Pin
RichardSouthworth14-Jan-10 2:02
RichardSouthworth14-Jan-10 2:02 
GeneralRe: Creating a dynamic date parameter in a SQL Reporting Services subscription Pin
Alexandru Serban14-Jan-10 5:03
professionalAlexandru Serban14-Jan-10 5:03 
GeneralRe: Creating a dynamic date parameter in a SQL Reporting Services subscription Pin
XavierSteel1-Feb-10 13:49
XavierSteel1-Feb-10 13:49 
GeneralRe: Creating a dynamic date parameter in a SQL Reporting Services subscription Pin
BStanneveld19-Jul-11 19:24
BStanneveld19-Jul-11 19:24 
QuestionCursor problem [solved/please ignore] Pin
leckey14-Nov-08 6:02
leckey14-Nov-08 6:02 
AnswerRe: Cursor problem Pin
Paddy Boyd14-Nov-08 6:08
Paddy Boyd14-Nov-08 6:08 
Not sure where the @pkg and the @owner come into this for the SQL you have a above, but i don't think that you need a cursor here:

DECLARE @PartErrors VARCHAR(1000) -- Dunno if you want to look out for this overflowing...

SELECT @PartErrors = ''

SELECT @PartErrors = @PartErrors + '' SKU: '' + SKU + '' SKU does not exist in master part table! | ''
FROM  -- Your sql to find the missing parts goes here --


Also think you might want to change your SQL for find this from an 'IN' to an 'EXISTS' e.g.

SELECT PARTS.A, PARTS.B
FROM PARTS 
WHERE NOT EXISTS (SELECT 1 FROM OTHERTABLE AS Check WHERE Check.A = PARTS.A and Check.B = PARTS.B

GeneralRe: Cursor problem Pin
leckey14-Nov-08 6:09
leckey14-Nov-08 6:09 
GeneralRe: Cursor problem Pin
Paddy Boyd14-Nov-08 6:11
Paddy Boyd14-Nov-08 6:11 
GeneralRe: Cursor problem Pin
leckey14-Nov-08 6:14
leckey14-Nov-08 6:14 
QuestionTwo Transactions in Stored Proc Pin
indian14314-Nov-08 5:16
indian14314-Nov-08 5:16 
AnswerRe: Two Transactions in Stored Proc Pin
dan!sh 14-Nov-08 5:28
professional dan!sh 14-Nov-08 5:28 
GeneralRe: Two Transactions in Stored Proc Pin
indian14314-Nov-08 5:45
indian14314-Nov-08 5:45 
GeneralRe: Two Transactions in Stored Proc Pin
dan!sh 14-Nov-08 7:22
professional dan!sh 14-Nov-08 7:22 
AnswerRe: Two Transactions in Stored Proc Pin
ToddHileHoffer14-Nov-08 5:31
ToddHileHoffer14-Nov-08 5:31 
GeneralRe: Two Transactions in Stored Proc Pin
indian14314-Nov-08 5:55
indian14314-Nov-08 5:55 
GeneralRe: Two Transactions in Stored Proc Pin
ToddHileHoffer14-Nov-08 5:57
ToddHileHoffer14-Nov-08 5:57 
QuestionIn sql service reports Pin
member2714-Nov-08 4:19
member2714-Nov-08 4:19 
AnswerRe: In sql service reports Pin
Paddy Boyd14-Nov-08 5:44
Paddy Boyd14-Nov-08 5:44 
GeneralRe: In sql service reports Pin
member2714-Nov-08 20:18
member2714-Nov-08 20:18 
QuestionStored Procedure Error Pin
Syed Shahid Hussain14-Nov-08 1:40
Syed Shahid Hussain14-Nov-08 1:40 
AnswerRe: Stored Procedure Error PinPopular
neilarnold14-Nov-08 2:00
neilarnold14-Nov-08 2:00 
GeneralRe: Stored Procedure Error Pin
Syed Shahid Hussain14-Nov-08 2:34
Syed Shahid Hussain14-Nov-08 2:34 
GeneralRe: Stored Procedure Error Pin
Syed Shahid Hussain14-Nov-08 2:41
Syed Shahid Hussain14-Nov-08 2:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.