Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Turn varbinary bit ON/OFF Expand / Collapse
Author
Message
Posted Tuesday, May 8, 2012 12:06 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Friday, December 6, 2013 6:57 AM
Points: 17, Visits: 26
Comments posted to this topic are about the item Turn varbinary bit ON/OFF
Post #1296666
Posted Tuesday, May 22, 2012 7:36 AM


Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Yesterday @ 12:55 PM
Points: 372, Visits: 989
Um, give the function a parameter so it can do either on or off. Two functions for this is a no no.

Cheers
Post #1304160
Posted Tuesday, May 22, 2012 8:05 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Monday, November 10, 2014 6:19 AM
Points: 262, Visits: 919
Use-case?

Part of what makes SQLServerCentral articles interesting to read is the story that explains the code. What prompted you to write these functions?

Even if this solution "works" - what problem does it solve?

Why is this solution better than the approach *I* might have created?
(I'd probably not think to write/employ the functions you've written)

Summary: "more please" :)
Post #1304181
Posted Tuesday, May 22, 2012 9:13 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, April 15, 2014 5:39 PM
Points: 2, Visits: 21
I agree - the two functions can be merged easily.
I intentionally did not mix the two to enable a clear understanding.
Post #1304248
Posted Tuesday, May 22, 2012 9:16 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, April 15, 2014 5:39 PM
Points: 2, Visits: 21
Sorry but i cant provide one.
A friend requested that i'll send him the functions ASAP. after it was done i remembered i posted something similar a few years back so i loaded those two as well.
Post #1304250
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse