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 08, 2012 12:06 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Saturday, August 18, 2012 4:41 AM
Points: 17, Visits: 25
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: Today @ 10:52 AM
Points: 308, Visits: 683
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-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Today @ 9:54 AM
Points: 198, Visits: 680
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: Wednesday, February 20, 2013 4:12 AM
Points: 2, Visits: 20
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: Wednesday, February 20, 2013 4:12 AM
Points: 2, Visits: 20
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