Viewing 15 posts - 1 through 15 (of 38 total)
--Check for Object existence
IF...
February 7, 2017 at 10:55 am
Thank you for your responses everyone.
this is what i cam e up with. i passed the database name into a variable , now i am trying...
February 7, 2017 at 9:55 am
February 2, 2017 at 2:12 pm
Thanks everyone,
I figured it out and used a while loop in a cursor.
Thanks
February 2, 2017 at 12:53 pm
drew.allen - Tuesday, January 31, 2017 3:55 PMThis is basic SQL. I suggest that you do your own homework.
thank you for your...
January 31, 2017 at 4:09 pm
January 26, 2017 at 12:24 pm
January 26, 2017 at 11:54 am
Hello Guys,
Following the code that drew modified, I found another way around it:
SELECT
StationName
, AiredDateTime
, AiredISCI
, OrderNumber
, Line
, ...
December 6, 2016 at 7:05 pm
drew.allen (12/2/2016)
JALLY (12/2/2016)
Your solution above will create a conflict between columns that rely on the the sub queries for their source of data and the multi part identifier 'inv.active' will...
December 5, 2016 at 12:37 pm
Phil Parkin (12/2/2016)
On which table is the column 'Active'?
Inventory
December 2, 2016 at 10:05 am
Phil Parkin (12/2/2016)
On which table is the column 'Active'?
'Inventory' table
December 2, 2016 at 10:04 am
drew.allen (12/2/2016)
...
December 2, 2016 at 9:54 am
if i use the where clause to filter return columns associated with inventory inv table to return inv.active = 1, it throws an error if i use it this way...
December 2, 2016 at 8:29 am
thank you Phill for formatting.
i want to apply a where condition to a column in the inventory table -dbo.Inventory inv like this:
where inv.active=1
without causing conflicts for the columns in sub...
December 2, 2016 at 8:10 am
Alexander Suprun (10/14/2016)
JALLY (10/14/2016)
I used Option recompile and option for local variables to work around the Parameter sniffing issues arising...
October 17, 2016 at 9:17 am
Viewing 15 posts - 1 through 15 (of 38 total)